summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/explicit-instantiation.C
blob: 67e44c49f024c840034b23eb9698ff07853b61b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
// Origin: Jens.Maurer@gmx.net
// { dg-do compile }

// Fixed: PR 3381

namespace N
{
  template<class T>
  class A { };
}

template class ::N::A<int>;