summaryrefslogtreecommitdiffstats
path: root/clang/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
commit56f64c14b77dcb443903573e242c37df0c98a491 (patch)
tree1dbe11c496c786d47bfcd6fb4f42cd3fd953a31a /clang/test/Preprocessor/assembler-with-cpp.c
parent9ec19ea06a328cc91839b3f166a411ab410dae74 (diff)
downloadbcm5719-llvm-56f64c14b77dcb443903573e242c37df0c98a491.tar.gz
bcm5719-llvm-56f64c14b77dcb443903573e242c37df0c98a491.zip
fix rdar://8823139, a crash on a comment in a preprocessed .s file
that contains the ## operator. llvm-svn: 122946
Diffstat (limited to 'clang/test/Preprocessor/assembler-with-cpp.c')
-rw-r--r--clang/test/Preprocessor/assembler-with-cpp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/assembler-with-cpp.c b/clang/test/Preprocessor/assembler-with-cpp.c
index 0543077c01c..a9c42940a31 100644
--- a/clang/test/Preprocessor/assembler-with-cpp.c
+++ b/clang/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: # ##
OpenPOWER on IntegriCloud