* gcc.dg/const-elim-1.c: Remove xfail for xtensa-*-*.
[official-gcc.git] / gcc / testsuite / gcc.dg / asm-fs-1.c
blobf215ee8ac8a79bb62b47b2f7ae7e986522d1155d
1 /* Origin: <hp@bitrange.com>
2 Make sure we do not get spurious '*' characters in section names or
3 elsewhere, with asm-specified names. */
4 /* { dg-do compile } */
5 /* { dg-options "-w -ffunction-sections -fdata-sections" } */
7 void foo (void) asm ("_bar");
8 void foo (void) {}
10 extern int foobar asm ("_baz");
11 int foobar = 3;
13 /* { dg-final { scan-assembler-not "\\*_bar" } } */
14 /* { dg-final { scan-assembler-not "\\*_baz" } } */