summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/dumptokens_phyloc.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-19 19:10:40 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-19 19:10:40 +0000
commitf487548c176a19cd4b66b94244fe875c6e08c581 (patch)
treea9675951988630902802f30d485035b5ee46caab /clang/test/Preprocessor/dumptokens_phyloc.c
parent0fff6d3c06fe3b86904580f523a0f77f12eefd1b (diff)
downloadbcm5719-llvm-f487548c176a19cd4b66b94244fe875c6e08c581.tar.gz
bcm5719-llvm-f487548c176a19cd4b66b94244fe875c6e08c581.zip
Patch by Kovarththanan Rajaratnam:
"When dumping the tokens (-dumptokens output type), the column numbers are not correctly shown. This patch fixes that issue." llvm-svn: 53797
Diffstat (limited to 'clang/test/Preprocessor/dumptokens_phyloc.c')
-rw-r--r--clang/test/Preprocessor/dumptokens_phyloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/dumptokens_phyloc.c b/clang/test/Preprocessor/dumptokens_phyloc.c
new file mode 100644
index 00000000000..45081ec1618
--- /dev/null
+++ b/clang/test/Preprocessor/dumptokens_phyloc.c
@@ -0,0 +1,5 @@
+// RUN: clang -dumptokens %s 2>&1 | grep "PhysLoc=[_.a-zA-Z]*:3:20"
+
+#define TESTPHYLOC 10
+
+TESTPHYLOC
OpenPOWER on IntegriCloud