20000224-1.c (main): Expected return-value is 1, not zero.

* execute/20000224-1.c (main): Expected return-value is	1, not
	zero.

From-SVN: r32358
This commit is contained in:
Hans-Peter Nilsson 2000-03-06 10:47:11 +00:00 committed by Hans-Peter Nilsson
parent 4dfc2930e4
commit d75c89dc2a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Mar 5 23:25:12 2000 Hans-Peter Nilsson <hp@bitrange.com>
* execute/20000224-1.c (main): Expected return-value is 1, not
zero.
2000-02-25 Geoff Keating <geoffk@cygnus.com>
* compile/20000224-1.c: New test.

View File

@ -20,7 +20,7 @@ int test (void)
int main()
{
if (test ())
if (test () != 1)
abort ();
exit (0);