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 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 *-*-*