summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/tr-str.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/tr-str.c')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/tr-str.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/tr-str.c b/gcc/testsuite/gcc.dg/cpp/tr-str.c
new file mode 100644
index 00000000000..3a568ce0eab
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/cpp/tr-str.c
@@ -0,0 +1,4 @@
+/* Test whether traditional stringify works. */
+/* { dg-do preprocess } */
+/* { dg-options "-traditional" } */
+#define foo(a, b) c="a"; d="b";