blob: 43cd83496b5ee74e46bab00da48039f8a2789ef5 [file] [log] [blame]
sewardj23981dd2007-11-15 22:33:32 +00001
2/* As discussed on valgrind-users in the thread
3 http://comments.gmane.org/gmane.comp.debugging.valgrind/7535
4 valgrinding Wine running a large win32 app (Picasa) fails with the message
5
6 vex: priv/host-x86/isel.c:510 (doHelperCall): Assertion
7 `typeOfIRExpr(env->type_env, args[i]) == Ity_I32' failed.
8
9 See http://bugs.kde.org/show_bug.cgi?id=152022
10
11This little fragment used to cause Memcheck to assert, so if the
12program runs to completion without dying, the test is passed.
13*/
14
15
16int main ( void ) {
17 __asm__ __volatile__( "subw $0x28, %%sp\n"
18 "movl $0, 0(%%esp)\n"
19 "addw $0x28, %%sp" : : : "memory" );
20 return 0;
21}
22