require diagnostic even without -pedantic
authorAlexandre Oliva <oliva@gcc.gnu.org>
Mon, 21 Dec 1998 10:39:08 +0000 (10:39 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Mon, 21 Dec 1998 10:39:08 +0000 (10:39 +0000)
From-SVN: r24389

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

index 2ec5b0a28d1b4567531293bb3b81f875accc70fe..97bf23889a9be7fb0a27e9fe805efbdbeee4f039 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 *-*-*