summaryrefslogtreecommitdiffstats
path: root/clang/test
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
commit5a8057bc18be32b10672e5e31be7138ed9a8fd6a (patch)
tree00dca07815697d9db7a9a4930c392f1cac41896f /clang/test
parent38d7fd252a6de1aa6ea25e4f747e6711990833dd (diff)
downloadbcm5719-llvm-5a8057bc18be32b10672e5e31be7138ed9a8fd6a.tar.gz
bcm5719-llvm-5a8057bc18be32b10672e5e31be7138ed9a8fd6a.zip
add another sanity test.
llvm-svn: 63001
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Preprocessor/line-directive.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/line-directive.c b/clang/test/Preprocessor/line-directive.c
index 9b7950633b2..e1adc6116df 100644
--- a/clang/test/Preprocessor/line-directive.c
+++ b/clang/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
+
OpenPOWER on IntegriCloud