diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-26 01:25:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-26 01:25:11 +0000 |
commit | 0a401cca916e1ed482282c94c85bb9a7bd75cfda (patch) | |
tree | 96a915bae86ea519078373bd743b545c62b5b230 /clang/test/Preprocessor/macro_expandloc.c | |
parent | 269c232e67ee79342762660d7a19ff36b373cc1e (diff) | |
download | bcm5719-llvm-0a401cca916e1ed482282c94c85bb9a7bd75cfda.tar.gz bcm5719-llvm-0a401cca916e1ed482282c94c85bb9a7bd75cfda.zip |
new testcase
llvm-svn: 38575
Diffstat (limited to 'clang/test/Preprocessor/macro_expandloc.c')
-rw-r--r-- | clang/test/Preprocessor/macro_expandloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/macro_expandloc.c b/clang/test/Preprocessor/macro_expandloc.c new file mode 100644 index 00000000000..00bba6f60d7 --- /dev/null +++ b/clang/test/Preprocessor/macro_expandloc.c @@ -0,0 +1,6 @@ +// RUN: clang %s -E 2>&1 | grep '#include' +#define FOO 1 + +// The error message should be on the #include line, not the 1. +#include FOO + |