OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / friend48.C
1 // Build don't link:
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 template <class T>
5 class C {
6   template <class U>
7   friend class ::C;
8 };
9
10 namespace N 
11 {
12 template <class T>
13 class D {
14   template <class U>
15   friend class N::D;
16 };
17 };