X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.dg%2Fasm-names.c;fp=gcc%2Ftestsuite%2Fgcc.dg%2Fasm-names.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=dbfa7925427f2aeff6a382e79dd618ad9f83a733;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.dg/asm-names.c b/gcc/testsuite/gcc.dg/asm-names.c deleted file mode 100644 index dbfa7925..00000000 --- a/gcc/testsuite/gcc.dg/asm-names.c +++ /dev/null @@ -1,27 +0,0 @@ -/* The name specified by an asm("...") suffix on a declaration is not - to have an underscore prefixed, even if normal symbols are. - Problem reported by Krister Walfridsson . */ - -/* { dg-do link } */ -/* { dg-options "-fleading-underscore" } */ - -extern void frobnicate (void) asm ("___frob14"); /* three underscores */ - -void __frob14 (void) {} /* two underscores */ - -int -main (void) -{ - frobnicate (); - return 0; -} - -/* In case built where the runtime expects no leading underscore on - main(). */ -extern int xmain (void) asm ("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(); }