// PR c++/27102

template <typename T>
void T::foo; // { dg-error "invalid" }


syntax highlighted by Code2HTML, v. 0.9.1