Commit 019b761f by Andreas Jaeger Committed by Andreas Jaeger

20000519-1.c (main): Fixed return value of testcase.

2000-05-20  Andreas Jaeger  <aj@suse.de>

	* gcc.c-torture/execute/20000519-1.c (main): Fixed return
	value of testcase.

From-SVN: r34052
parent ac3d9668
2000-05-20 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/20000519-1.c (main): Fixed return value of
testcase.
2000-05-19 David Edelsohn <edelsohn@gnu.org> 2000-05-19 David Edelsohn <edelsohn@gnu.org>
* gcc.c-torture/execute/20000519-2.c: New test. * gcc.c-torture/execute/20000519-2.c: New test.
......
...@@ -24,5 +24,7 @@ foo (int a, ...) ...@@ -24,5 +24,7 @@ foo (int a, ...)
int int
main () main ()
{ {
return foo (1, 2, 3); if (foo (1, 2, 3) != 3)
abort ();
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