// { dg-do assemble }// { dg-prune-output "non-static data member initializers" }// GROUPS passed gb scopestruct C {struct D {int x;voidfoo();};const int Ok =0;// { dg-error "" } initialization forbidden};void C::D::foo(){// { dg-prune-output "from this location" }
x = Ok;}