aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-26 05:44:13 +0000
committerChris Lattner <sabre@nondot.org>2009-01-26 05:44:13 +0000
commit8e60a29e25c9418522a072c7b959485f3c7bb2ec (patch)
tree476ef3ed82cba72d58bfb3b53652423fb14dfd5d
parent099dd05b579ccefa97bd4f4a3088d4c262f080e4 (diff)
add another sanity test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63001 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Preprocessor/line-directive.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/line-directive.c b/test/Preprocessor/line-directive.c
index 9b7950633b..e1adc6116d 100644
--- a/test/Preprocessor/line-directive.c
+++ b/test/Preprocessor/line-directive.c
@@ -8,3 +8,7 @@
#line 42 "foo/bar/baz.h" // ok
+// #line directives expand macros.
+#define A 42 "foo"
+#line A
+