FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / gcc.dg / 20011009-1.c
blobdbf32e63fba87ef04f646fd9fab23cb1d29a522d
1 /* { dg-do run { target i?86-*-* } } */
2 /* { dg-options "-O2" } */
4 extern void abort (void);
5 extern void exit (int);
7 int main ()
9 int x;
11 asm ("movl $26, %0 # 26 |-> reg \n\t"
12 "movl $28, %0" : "=r" (x));
13 if (x != 28)
14 abort ();
15 exit (0);