summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/undefined3.C
blob: 6bafd6fc6951180ea292e1c52099e7b4aca25679 (plain)
1
2
3
4
5
6
// PR c++/5657
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-do compile }

template<typename T> struct A { A(B); };
template<typename T> A<T>::A(B) {} // { dg-error "" }