summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error3.C
blob: d3ee5990850756d4d2c74a1d8d6de819c232a7d5 (plain)
1
2
3
4
5
// PR 12762

template <typename> struct A { A() {}};
typedef A<int> Ac;
Ac<double> a; // { dg-error "template" }