summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error27.C
blob: 8d41d0248ef589ed1cd11a4c04330e0baa475e1b (plain)
1
2
3
4
5
// PR c++/27211

struct A {};

template<int> void A::foo() {} // { dg-error "member function" }