| commit | e07ea358178944823c9227d7205b2ce041e9d8e0 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Fri Mar 13 21:44:46 2009 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Fri Mar 13 21:44:46 2009 +0000 |
| tree | 5f2f5f722778a5f35971b54007fe4a9c2b750aa5 | |
| parent | 8bd06d8e1b31de3ef95c27a705b1025fc33657a7 [diff] [blame] |
fix PR3798 by ignoring all diagnostics generated while repreprocessing a file in rewrite macros. llvm-svn: 66961
diff --git a/clang/test/Misc/emit-html.c b/clang/test/Misc/emit-html.c index c4a1845..8c6556e 100644 --- a/clang/test/Misc/emit-html.c +++ b/clang/test/Misc/emit-html.c
@@ -9,3 +9,10 @@ return F(argc, 1); } +// PR3798 +#define FOR_ALL_FILES(f,i) i + +#if 0 + FOR_ALL_FILES(f) { } +#endif +