Commit d3e82013 by Jeffrey A Law Committed by Jeff Law

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

From-SVN: r27132
parent 5e65d3ee
Tue May 25 01:21:16 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990525-1.c: New test.
1999-05-24 Nathan Sidwell <nathan@acm.org> 1999-05-24 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/anon3.C: New test. * g++.old-deja/g++.other/anon3.C: New test.
......
struct blah {
int m1, m2;
};
void die(struct blah arg)
{
int i ;
struct blah buf[1];
for (i = 0; i < 1 ; buf[i++] = arg)
;
if (buf[0].m1 != 1) {
abort ();
}
}
int main()
{
struct blah s = { 1, 2 };
die(s);
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