summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/syshdr1.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/syshdr1.h')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/syshdr1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/syshdr1.h b/gcc/testsuite/gcc.dg/cpp/syshdr1.h
new file mode 100644
index 000000000..310f39b5f
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/cpp/syshdr1.h
@@ -0,0 +1,4 @@
+/* This file should generate an error because #include_next is not a
+ standard directive. */
+
+#include_next <stdio.h>