aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/cpp/cxxcom2.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/cpp/cxxcom2.h')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.dg/cpp/cxxcom2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/cpp/cxxcom2.h b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/cxxcom2.h
new file mode 100644
index 000000000..546b8fd92
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.dg/cpp/cxxcom2.h
@@ -0,0 +1,4 @@
+/* A system header may contain C++ comments irrespective of mode. */
+#pragma GCC system_header
+// C++ comment is not in C89 { dg-bogus "style comment" "bad warning" }
+