summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.oliva/ns3.C
blob: 4ddbb32892a93e3d8aec934edc61541054a5ae87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble }

// Copyright (C) 1999 Free Software Foundation

// by Alexandre Oliva <oliva@dcc.unicamp.br>
// based on bug report by Ovidiu Toader <ovi@physics.utoronto.ca>


namespace N {
  template <typename T> class A {
    template <typename T_> friend class A;
  };
}