blob: b78d99e997bb32ce5b94ee1ce3132707cfa0123e [file] [log] [blame]
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2" } */
extern void abort (void);
extern void exit (int);
int main ()
{
int x;
asm ("movl $26, %0 # 26 |-> reg \n\t"
"movl $28, %0" : "=r" (x));
if (x != 28)
abort ();
exit (0);
}