repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20011009-1.c
blob
dbf32e63fba87ef04f646fd9fab23cb1d29a522d
1
/* { dg-do run { target i?86-*-* } } */
2
/* { dg-options "-O2" } */
3
4
extern
void
abort
(
void
);
5
extern
void
exit
(
int
);
6
7
int
main
()
8
{
9
int
x
;
10
11
asm
(
"movl $26, %0 # 26 |-> reg
\n\t
"
12
"movl $28, %0"
:
"=r"
(
x
));
13
if
(
x
!=
28
)
14
abort
();
15
exit
(
0
);
16
}