summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/assembler-with-cpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/assembler-with-cpp.c')
-rw-r--r--test/Preprocessor/assembler-with-cpp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/assembler-with-cpp.c b/test/Preprocessor/assembler-with-cpp.c
index a9c4294..f03cb06 100644
--- a/test/Preprocessor/assembler-with-cpp.c
+++ b/test/Preprocessor/assembler-with-cpp.c
@@ -72,8 +72,15 @@
11: T11(b)
// CHECK-Identifiers-True: 11: #0
+// Universal character names can specify basic ascii and control characters
+12: \u0020\u0030\u0080\u0000
+// CHECK-Identifiers-False: 12: \u0020\u0030\u0080\u0000
// This should not crash
// rdar://8823139
# ##
// CHECK-Identifiers-False: # ##
+
+#define X(a) # # # 1
+X(1)
+// CHECK-Identifiers-False: # # # 1
OpenPOWER on IntegriCloud