]> granicus.if.org Git - clang/commitdiff
add another sanity test.
authorChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 05:44:13 +0000 (05:44 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 26 Jan 2009 05:44:13 +0000 (05:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63001 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/line-directive.c

index 9b7950633b2191f7e989bd8cd8e1059930017150..e1adc6116df3a8e15f6085b9a10f5032ac963254 100644 (file)
@@ -8,3 +8,7 @@
 #line 42 "foo/bar/baz.h"  // ok
 
 
+// #line directives expand macros.
+#define A 42 "foo"
+#line A
+