diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/cxxcom2.h')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/cxxcom2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/cxxcom2.h b/gcc/testsuite/gcc.dg/cpp/cxxcom2.h new file mode 100644 index 000000000..546b8fd92 --- /dev/null +++ b/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" } + |