OSDN Git Service

require diagnostic even without -pedantic
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Dec 1998 10:39:08 +0000 (10:39 +0000)
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Dec 1998 10:39:08 +0000 (10:39 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24389 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.old-deja/g++.other/conv5.C

index 2ec5b0a..97bf238 100644 (file)
@@ -2,5 +2,7 @@
 
 // Based on bug report by Thomas Kunert <kunert@physik.tu-dresden.de>
 
-const int foo();
-int (*bar)() = foo; // ERROR - discarding const - XFAIL *-*-*
+// Special g++ Options:
+
+int foo();
+const int (*bar)() = foo; // ERROR - adding const - XFAIL *-*-*