Commit 74d6e073 by Greg McGary Committed by Jeff Law

20000717-1.c: New test.

        * gcc.c-torture/execute/20000717-1.c: New test.
        * gcc.c-torture/execute/20000717-1.x: Expected to fail.

From-SVN: r35067
parent 4b1a29d9
Mon Jul 17 00:41:57 2000 Greg McGary <greg@mcgary.org>
* gcc.c-torture/execute/20000717-1.c: New test.
* gcc.c-torture/execute/20000717-1.x: Expected to fail.
2000-07-15 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20000715-2.c: New test.
......
typedef struct trio { int a, b, c; } trio;
int
bar (int i, trio t)
{
if (t.a == t.b || t.a == t.c)
abort ();
}
int
foo (trio t, int i)
{
return bar (i, t);
}
main ()
{
trio t = { 1, 2, 3 };
foo (t, 4);
exit (0);
}
set torture_execute_xfail "*-*-*"
return 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