This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH to remove g++.pt/friend19.C



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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]