From: Alexandre Oliva Date: Mon, 21 Dec 1998 10:39:08 +0000 (+0000) Subject: require diagnostic even without -pedantic X-Git-Tag: prereleases/libgcj-0.1~1565 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebc9d4b79c148644abd7f418f23b7dc2c10110e3;p=thirdparty%2Fgcc.git require diagnostic even without -pedantic From-SVN: r24389 --- diff --git a/gcc/testsuite/g++.old-deja/g++.other/conv5.C b/gcc/testsuite/g++.old-deja/g++.other/conv5.C index 2ec5b0a28d1b..97bf23889a9b 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/conv5.C +++ b/gcc/testsuite/g++.old-deja/g++.other/conv5.C @@ -2,5 +2,7 @@ // Based on bug report by Thomas Kunert -const int foo(); -int (*bar)() = foo; // ERROR - discarding const - XFAIL *-*-* +// Special g++ Options: + +int foo(); +const int (*bar)() = foo; // ERROR - adding const - XFAIL *-*-*