summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/spec18.C
blob: a22e8543d0e784c7959bc07d3768635990b0b5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/17936

template<int, int N> struct A
{
  void foo();
};

template<int N> struct A<1, N>
{
  void foo();
};

template<> void A<1, 2>::foo();