summaryrefslogtreecommitdiff
path: root/test/Preprocessor/_Pragma-syshdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/_Pragma-syshdr.c')
-rw-r--r--test/Preprocessor/_Pragma-syshdr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/_Pragma-syshdr.c b/test/Preprocessor/_Pragma-syshdr.c
new file mode 100644
index 0000000000..4d2d29e023
--- /dev/null
+++ b/test/Preprocessor/_Pragma-syshdr.c
@@ -0,0 +1,4 @@
+// RUN: clang %s -E 2>&1 | grep 'system_header ignored in main file'
+
+_Pragma ("GCC system_header")
+