summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-06-15 19:48:50 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-06-15 19:48:50 +0000
commitdd2ab963de3120382d3a4c4519ad3a2fc3b57924 (patch)
tree434a954048fda2600f25639a71dd5eb94ec0d9a5 /clang/test/Lexer
parente790614fa5e5bb54629ace77be453699c753a565 (diff)
downloadbcm5719-llvm-dd2ab963de3120382d3a4c4519ad3a2fc3b57924.tar.gz
bcm5719-llvm-dd2ab963de3120382d3a4c4519ad3a2fc3b57924.zip
PR4395: Don't detect token concatenation in C mode for
C++-specific tokens. llvm-svn: 73408
Diffstat (limited to 'clang/test/Lexer')
-rw-r--r--clang/test/Lexer/token-concat-2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Lexer/token-concat-2.c b/clang/test/Lexer/token-concat-2.c
new file mode 100644
index 00000000000..28916547d5b
--- /dev/null
+++ b/clang/test/Lexer/token-concat-2.c
@@ -0,0 +1,4 @@
+// RUN: clang-cc -E -x c -o - %s | grep '[.][*]'
+// PR4395
+#define X .*
+X
OpenPOWER on IntegriCloud