fix
authorJason Merrill <jason@gcc.gnu.org>
Tue, 27 Oct 1998 02:21:59 +0000 (21:21 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 27 Oct 1998 02:21:59 +0000 (21:21 -0500)
From-SVN: r23362

gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C

index 86d9469..148155e 100644 (file)
@@ -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