blob: 3f36735dbc1ee23cf9c824cbd17d3d6231a0ba97 [file] [log] [blame]
// PR c++/30299
struct A
{
int i;
};
template<void> struct B : A // { dg-error "not a valid type" }
{
B() { this->i; }
};