mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 19:45:28 +08:00
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:
parent
0da8bbae9d
commit
2add28a33a
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user