summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/pr61670.C
blob: d244efae71fa05b0fa1cc11406e86e8d7a74d0f0 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/61670
// { dg-do compile }

template <class>
class A {
  A: 0 // { dg-error "" }
};

A<int> a;