blob: 39ab0896791ec2ad1d9b7e9c284c70b4ac6b8f17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { 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;
}
|