summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/spec31.C
blob: 3b36ab486ad077d38d3fdf4239d5ee6699ce3c20 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/28058

template<int> struct A
{
  A() {}
};

A<0> a;

template<> A<0>::A() {} // { dg-error "specialization" }