diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/charset/attribute1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/charset/attribute1.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/charset/attribute1.c b/gcc/testsuite/gcc.dg/charset/attribute1.c new file mode 100644 index 0000000..993c793 --- /dev/null +++ b/gcc/testsuite/gcc.dg/charset/attribute1.c @@ -0,0 +1,10 @@ +/* Test for attribute non-translation. */ +/* { dg-do compile } + { dg-require-iconv "IBM-1047" } + { dg-final { scan-assembler "foo" } } */ +int walrus __attribute__ ((section (".foo"))); + +int main (void) +{ + return 0; +} |