From: Jason Merrill Date: Tue, 27 Oct 1998 02:21:59 +0000 (-0500) Subject: fix X-Git-Tag: prereleases/libgcj-0.1~2305 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21c0d0f5b2299074fe36ef42c1212b5343102333;p=thirdparty%2Fgcc.git fix From-SVN: r23362 --- diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C b/gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C index 86d94698af0f..148155e2f69a 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C @@ -1,6 +1,4 @@ -// Build don't link: - // $7.1.2 disallows explicit on anything but declarations of // constructors ... including friends. class foo { public: foo(); }; -class bar { public: friend explicit foo::foo(); }; +class bar { public: friend explicit foo::foo(); }; // ERROR - explicit friend