Commit 90d925d3 by Aldy Hernandez Committed by Aldy Hernandez

* gcc.dg/asm-names.c (ymain): New.

From-SVN: r45205
parent e2dff3f2
2001-08-25 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/asm-names.c (ymain): New.
2001-08-22 Geoffrey Keating <geoffk@redhat.com> 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
* gcc.c-torture/compile/961203-1.x: Mark unsupported by stormy16. * gcc.c-torture/compile/961203-1.x: Mark unsupported by stormy16.
......
...@@ -21,3 +21,7 @@ main (void) ...@@ -21,3 +21,7 @@ main (void)
extern int xmain (void) asm ("main"); extern int xmain (void) asm ("main");
int xmain (void) { return main(); } int xmain (void) { return main(); }
/* In case built where the runtime calls __main. */
extern int ymain (void) asm ("___main");
int ymain (void) { return main(); }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment