aboutsummaryrefslogtreecommitdiff
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
commit24af60f52868329a31fe50643a9a7a4ad61cf6c7 (patch)
tree3be9d117810851c91977938ed52c6db5861341c7
parent109949a5f5f8c1e9f917095706639167cfe9260f (diff)
Patch by Kovarththanan Rajaratnam:
"When dumping the tokens (-dumptokens output type), the column numbers are not correctly shown. This patch fixes that issue." git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53797 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Preprocessor/dumptokens_phyloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/dumptokens_phyloc.c b/test/Preprocessor/dumptokens_phyloc.c
new file mode 100644
index 0000000000..45081ec161
--- /dev/null
+++ b/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