aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/complex-2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/complex-2.h')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/complex-2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/complex-2.h b/gcc-4.9/gcc/testsuite/gcc.dg/complex-2.h
new file mode 100644
index 000000000..752d7f26d
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/complex-2.h
@@ -0,0 +1,6 @@
+/* Allow complex types in system headers even with -std=iso9899:1990
+ -pedantic-errors. Header file. */
+
+#pragma GCC system_header
+
+_Complex double x;