OSDN Git Service

fix
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Oct 1998 02:21:59 +0000 (02:21 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Oct 1998 02:21:59 +0000 (02:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23362 138bc75d-0d04-0410-961f-82ee72b054a4

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