aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/missing-system-header.c
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-08-30 23:07:51 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-08-30 23:07:51 +0000
commitf84139a1331c63c998e8b7d54148c75ac0b48ccd (patch)
treef5e89a672f189361fb2ebcabfee83e3256f9a6c2 /test/Preprocessor/missing-system-header.c
parent1155c42e7b1b4e401bb0a331a6d715d637958c75 (diff)
Change err_pp_file_not_found back to an Error; when it's a Warning, we suppress it in system headers. And it is not a good idea to suppress it in system headers. (This was originally changed in r134996 to implement -MG.)
Fixes <rdar://10041960>. And also brings down the number of warnings without a flag by one :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/missing-system-header.c')
-rw-r--r--test/Preprocessor/missing-system-header.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Preprocessor/missing-system-header.c b/test/Preprocessor/missing-system-header.c
new file mode 100644
index 0000000000..69cb1314ea
--- /dev/null
+++ b/test/Preprocessor/missing-system-header.c
@@ -0,0 +1,2 @@
+// RUN: %clang_cc1 -verify -fsyntax-only %s
+#include "missing-system-header.h"