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
This commit is contained in:
Andreas Jaeger 2000-05-20 19:04:41 +02:00 committed by Andreas Jaeger
parent ac3d966803
commit 019b761f38
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* gcc.c-torture/execute/20000519-2.c: New test.

View File

@ -24,5 +24,7 @@ foo (int a, ...)
int
main ()
{
return foo (1, 2, 3);
if (foo (1, 2, 3) != 3)
abort ();
return 0;
}