Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
20011009-1.c
blob: dbf32e63fba87ef04f646fd9fab23cb1d29a522d [
file
] [
log
] [
blame
]
/* { dg-do run { target i?86-*-* } } */
/* { 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
);
}