diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/charset/string.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/charset/string.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/charset/string.c b/gcc/testsuite/gcc.dg/charset/string.c new file mode 100644 index 00000000000..375e28a2ed6 --- /dev/null +++ b/gcc/testsuite/gcc.dg/charset/string.c @@ -0,0 +1,5 @@ +/* Simple character translation test. */ +/* { dg-do compile } + { dg-require-iconv "IBM-1047" } + { dg-final { scan-assembler-not "string foobar" } } */ +char *foo = "string foobar"; |