From: Jason Merrill Date: Tue, 27 Oct 1998 02:21:59 +0000 (-0500) Subject: fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21c0d0f5b2299074fe36ef42c1212b5343102333;p=gcc.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 86d94698af0..148155e2f69 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