2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-local.c
blob0c3103007cfc99166affb20e7dfb8a4924382257
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -funit-at-a-time" } */
3 /* { dg-final { scan-assembler "magic\[^\\n\]*eax" } } */
5 /* Verify that local calling convention is used. */
6 static t(int) __attribute__ ((noinline));
7 m()
9 t(1);
11 static t(int a)
13 asm("magic %0"::"g"(a));