aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction47.C
blob: 3e47f58e698e6c57da421a6e3ec552c61733dc94 (plain)
1
2
3
4
5
6
7
// PR c++/84376

template<int> struct A {};

template<typename T> T foo() { return T(); }

template<> A foo<A>();		// { dg-error "A" }