blob: e38e106b14cbcef4f6525934a4c1e6848a9c1956 [file] [log] [blame]
// PR c++/48489
struct Base{ };
struct Concrete : Base
{
void setValue();
};
int main()
{
Concrete d;
d.Base::setValue(); // { dg-error "struct Base" }
}