Commit bf4ddb31 by Jeffrey A Law Committed by Jeff Law

* gcc.c-torture/execute/20000717-3.c: New test.

From-SVN: r35090
parent bd83f9a5
Mon Jul 17 03:13:12 2000 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/20000717-3.c: New test.
* gcc.c-torture/compile/20000717-1.c: New test.
2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
......
int c = -1;
foo (p)
int *p;
{
int x;
int a;
a = p[0];
x = a + 5;
a = c;
p[0] = x - 15;
return a;
}
int main()
{
int b = 1;
int a = foo(&b);
if (a != -1 || b != (1 + 5 - 15))
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