diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2000-03-06 10:47:11 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2000-03-06 10:47:11 +0000 |
commit | d75c89dc2a84df56aee7142c1410d6e4d5adc197 (patch) | |
tree | d4d185cbb2174f76fc48213d507453b53f7a66e0 /gcc | |
parent | 4dfc2930e44ff582fecfd4ebb98b25cb23f2bf05 (diff) | |
download | gcc-d75c89dc2a84df56aee7142c1410d6e4d5adc197.zip gcc-d75c89dc2a84df56aee7142c1410d6e4d5adc197.tar.gz gcc-d75c89dc2a84df56aee7142c1410d6e4d5adc197.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20000224-1.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.c-torture/ChangeLog b/gcc/testsuite/gcc.c-torture/ChangeLog index e58e53e..20499e8 100644 --- a/gcc/testsuite/gcc.c-torture/ChangeLog +++ b/gcc/testsuite/gcc.c-torture/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.c-torture/execute/20000224-1.c b/gcc/testsuite/gcc.c-torture/execute/20000224-1.c index 51c9203..295cc47 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20000224-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20000224-1.c @@ -20,7 +20,7 @@ int test (void) int main() { - if (test ()) + if (test () != 1) abort (); exit (0); |