blob: 30556414f88dd87e1401d4b3d679b00d4e52c448 [file] [log] [blame]
// PR c++/19894
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
template<typename T> struct A
{
T A::* p; // { dg-error "void" }
};
A<void> a; // { dg-message "required" }