blob: e5e95800c803676d50689b7b5919ea91e9a06e11 [file] [log] [blame]
struct Bar
{
typedef int type;
};
struct Foo
{
void func(void)
{
mutable Bar::type x; // { dg-error "8:non-member .x. cannot be declared .mutable." }
}
};