Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / asm-names.c
blobf5e44e65f6cedec8d911c7801cef13b270a50911
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>. */
5 /* { dg-do compile } */
6 /* { dg-options "-fleading-underscore" } */
7 /* { dg-final { scan-assembler-not "____frob14" } } */
9 extern void frobnicate (void) asm ("___frob14"); /* three underscores */
11 int
12 main (void)
14 frobnicate ();
15 return 0;