20001009-2.c (foo): Rename from main.

* gcc.c-torture/execute/20001009-2.c (foo): Rename from main.
        (main): New.  Exit cleanly.

From-SVN: r37560
This commit is contained in:
Richard Henderson 2000-11-19 01:33:30 -08:00 committed by Richard Henderson
parent 0da8bbae9d
commit 2add28a33a
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-11-18 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/20001009-2.c (foo): Rename from main.
(main): New. Exit cleanly.
2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c90-fordecl-1.c, gcc.dg/c99-fordecl-1.c,

View File

@ -1,5 +1,5 @@
int b=1;
main()
int foo()
{
int a;
int c;
@ -14,3 +14,8 @@ main()
abort();
return c;
}
int main()
{
foo();
return 0;
}