blob: eedc299fbcb9734ebfb736ebda67bbcf28185dce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
int b=1;
int foo()
{
int a;
int c;
a=0xff;
for (;b;b--)
{
c=1;
asm(""::"r"(c));
c=(signed char)a;
}
if (c!=-1)
abort();
return c;
}
int main()
{
foo();
return 0;
}
|