aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/charset/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/charset/string.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/charset/string.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/charset/string.c b/gcc-4.9/gcc/testsuite/gcc.dg/charset/string.c
new file mode 100644
index 000000000..f720773dd
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/charset/string.c
@@ -0,0 +1,5 @@
+/* Simple character translation test. */
+/* { dg-do compile }
+ { dg-require-iconv "IBM1047" }
+ { dg-final { scan-assembler-not "string foobar" } } */
+char *foo = "string foobar";