aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/cpp/ucnid-8.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/cpp/ucnid-8.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/cpp/ucnid-8.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/cpp/ucnid-8.c b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/ucnid-8.c
new file mode 100644
index 000000000..1f0379a5b
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/ucnid-8.c
@@ -0,0 +1,8 @@
+/* { dg-do compile } */
+/* { dg-options "-std=c99" } */
+/* Test that -std=c99 does not enable extended identifiers while the
+ feature is experimental; remove this test after audit of all
+ identifier uses in the compiler. */
+#define a b(
+#define b(x) q
+int a\u00aa);