blob: 39ab0896791ec2ad1d9b7e9c284c70b4ac6b8f17 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed gb scope
struct C {
struct D {
int x;
void foo ();
};
const int Ok = 0; // { dg-error "" } initialization forbidden
};
void C::D::foo ()
{
x = Ok;
}