From ebc9d4b79c148644abd7f418f23b7dc2c10110e3 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 21 Dec 1998 10:39:08 +0000 Subject: [PATCH] require diagnostic even without -pedantic From-SVN: r24389 --- gcc/testsuite/g++.old-deja/g++.other/conv5.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.other/conv5.C b/gcc/testsuite/g++.old-deja/g++.other/conv5.C index 2ec5b0a28d1..97bf23889a9 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 *-*-*