summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash46.C
blob: 6fbda7c07672eece55f3d98a962da6cb2ad3d21f (plain)
1
2
3
4
5
// PR c++/27102

template <class T>
void T::foo() {} // { dg-error "invalid" }