summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg7.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg7.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/rfg7.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg7.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg7.C
new file mode 100644
index 000000000..db19deeab
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.jason/rfg7.C
@@ -0,0 +1,6 @@
+// { dg-do assemble }
+// Bug: fixincludes and/or cpp mangle the definition of wchar_t so that this
+// doesn't work.
+
+#include <stdlib.h>
+wchar_t array[] = L"xxx"; // { dg-bogus "" } wchar_t