aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-10-26 21:21:59 -0500
committerJason Merrill <jason@gcc.gnu.org>1998-10-26 21:21:59 -0500
commit21c0d0f5b2299074fe36ef42c1212b5343102333 (patch)
tree35b8a18e11d4f6b07c6e9938c91f7c5e8e1e1e57
parentac0f1cd216749118c8c959546346d3c67bf4fcc5 (diff)
downloadgcc-21c0d0f5b2299074fe36ef42c1212b5343102333.zip
gcc-21c0d0f5b2299074fe36ef42c1212b5343102333.tar.gz
gcc-21c0d0f5b2299074fe36ef42c1212b5343102333.tar.bz2
fix
From-SVN: r23362
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/explicit1.C4
1 files changed, 1 insertions, 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 86d9469..148155e 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