summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/crash47.C
blob: 9c2163209339e022989e90f64fd0df1434a86a76 (plain)
1
2
3
// PR c++/27102

template<typename T> void T::X::foo() {} // { dg-error "invalid|not a type" }