diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/struct-ret-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/struct-ret-1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/struct-ret-1.c b/gcc/testsuite/gcc.dg/struct-ret-1.c index f581aad07d2..900ffbef7e3 100644 --- a/gcc/testsuite/gcc.dg/struct-ret-1.c +++ b/gcc/testsuite/gcc.dg/struct-ret-1.c @@ -1,5 +1,6 @@ /* { dg-do run { target hppa*-*-* } } */ /* { dg-options { -O2 } { target hppa*-*-* } } */ +extern void exit (int); typedef struct { int x; int y; @@ -16,7 +17,7 @@ main(int argc, char *argv[]) if (printPoints(toPoint(0, 0), toPoint(1000, 1000)) != 1) abort(); else - exit(); + exit(0); return 0; } |