Commit 4833c8bf by Richard Henderson Committed by Richard Henderson

* gcc.c-torture/execute/990130-1.c: New test.

From-SVN: r24925
parent 3ad13ada
Sat Jan 30 16:22:47 1999 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/990130-1.c: New test.
Sat Jan 30 11:10:06 1999 Jeffrey A Law (law@cygnus.com)
* gcc.dg/990130-1.c: New test.
......
int count = 0;
int dummy;
static int *
bar(void)
{
++count;
return &dummy;
}
static void
foo(void)
{
asm("" : "+r"(*bar()));
}
main()
{
foo();
if (count != 1)
abort();
exit(0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment