From 21c0d0f5b2299074fe36ef42c1212b5343102333 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 26 Oct 1998 21:21:59 -0500 Subject: [PATCH] fix From-SVN: r23362 --- gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.30.2