summaryrefslogtreecommitdiff
path: root/clang/test/Misc/warn-in-system-header.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Misc/warn-in-system-header.c')
-rw-r--r--clang/test/Misc/warn-in-system-header.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Misc/warn-in-system-header.c b/clang/test/Misc/warn-in-system-header.c
new file mode 100644
index 0000000..6e0237d
--- /dev/null
+++ b/clang/test/Misc/warn-in-system-header.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -isystem %S %s -fsyntax-only -verify
+
+#include <warn-in-system-header.h>
+// expected-warning {{the cake is a lie}}