aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/assembler-with-cpp.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-06 05:01:51 +0000
committerChris Lattner <sabre@nondot.org>2011-01-06 05:01:51 +0000
commitba3ca5271a01eae7cbd6a19ace004d75012c02a8 (patch)
treedab992f8fd3d0625b00aaf277fc9a4a227d311aa /test/Preprocessor/assembler-with-cpp.c
parent9d156a7b1b2771e191f2f5a45a7b7a694129463b (diff)
fix rdar://8823139, a crash on a comment in a preprocessed .s file
that contains the ## operator. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/assembler-with-cpp.c')
-rw-r--r--test/Preprocessor/assembler-with-cpp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/assembler-with-cpp.c b/test/Preprocessor/assembler-with-cpp.c
index 0543077c01..a9c42940a3 100644
--- a/test/Preprocessor/assembler-with-cpp.c
+++ b/test/Preprocessor/assembler-with-cpp.c
@@ -72,3 +72,8 @@
11: T11(b)
// CHECK-Identifiers-True: 11: #0
+
+// This should not crash
+// rdar://8823139
+# ##
+// CHECK-Identifiers-False: # ##