From: Chris Lattner Date: Mon, 26 Jan 2009 05:44:13 +0000 (+0000) Subject: add another sanity test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e60a29e25c9418522a072c7b959485f3c7bb2ec;p=clang add another sanity test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63001 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 +