Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / g++.dg / charset / asm1.c
blob7076d1285665d6e073b3c483373907508afb6fdd
1 /* { dg-do compile { target *-*-* } }
2 { dg-require-iconv "IBM1047" }
3 { dg-final { scan-assembler ".ascii bar" } }
4 { dg-final { scan-assembler ".ascii foo" } }
5 */
6 extern int x, y;
8 asm (".ascii bar");
10 int foo (void)
12 __asm__ (".ascii foo");
13 return 0;