This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH to remove g++.pt/friend19.C
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH to remove g++.pt/friend19.C
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 01 Nov 1999 15:44:19 -0800
- Organization: CodeSourcery, LLC
This test-case is an exactly duplicate of friend18.C.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
Index: friend19.C
===================================================================
RCS file: friend19.C
diff -N friend19.C
*** /sourceware/cvs-tmp/cvsZg07jI Mon Nov 1 15:36:27 1999
--- /dev/null Tue May 5 13:32:27 1998
***************
*** 1,26 ****
- // Build don't link:
-
- template <class U>
- class S1
- {
- template <class T>
- friend class S2;
-
- static int i;
- };
-
-
- template <class T>
- class S2
- {
- public:
- static void f() { S1<T>::i = 3; }
- };
-
-
- void g()
- {
- S2<double>::f();
- S2<long>::f();
- }
-
--- 0 ----