blob: 058d4dec5a771cb4e9f60d182c37588a32f7161c [file] [log] [blame]
// PR c++/17524
template<typename T> struct A
{
static const T i = 0; // { dg-error "declared void" "void" }
};
A<void> a; // { dg-message "required" }