]>
gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/asm-names.c
1 /* The name specified by an asm("...") suffix on a declaration is not
2 to have an underscore prefixed, even if normal symbols are.
3 Problem reported by Krister Walfridsson <cato@df.lth.se>. */
6 /* { dg-options "-fleading-underscore" } */
8 extern void frobnicate (void) asm ("___frob14"); /* three underscores */
10 void __frob14 (void) {} /* two underscores */
19 /* In case built where the runtime expects no leading underscore on
21 extern int xmain (void) asm ("main");
23 int xmain (void) { return main(); }
This page took 0.072176 seconds and 5 git commands to generate.