aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/cpp/syshdr2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/cpp/syshdr2.h')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/cpp/syshdr2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/cpp/syshdr2.h b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/syshdr2.h
new file mode 100644
index 000000000..0140fdac1
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/syshdr2.h
@@ -0,0 +1,5 @@
+/* This file would generate an error because of #include_next, but the
+ #pragma marks it a system header, so the error is suppressed. */
+
+#pragma GCC system_header
+#include_next <stdio.h>