aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer/token-concat.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-18 03:32:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-18 03:32:24 +0000
commit99c7622d1f673e8929196cc6eec7825a42622d5f (patch)
tree1e437c5964fe3f25063c8bece58c97287f49b264 /test/Lexer/token-concat.c
parent10ffa9a4887d9376e3eb3598e40523d1b58773c9 (diff)
Fix -E mismatch; an identifier followed by a numeric constant does not
require a space (to avoid concatenation) if the numeric constant had a leading period. - PR3819. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer/token-concat.c')
-rw-r--r--test/Lexer/token-concat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Lexer/token-concat.c b/test/Lexer/token-concat.c
new file mode 100644
index 0000000000..003344fc0a
--- /dev/null
+++ b/test/Lexer/token-concat.c
@@ -0,0 +1,4 @@
+// RUN: clang -E -x c -o %t %s &&
+// RUN: grep 'IDENT.2' %t
+
+IDENT.2