1 // { dg-do compile } 2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org> 3 // DR94: Inconsistencies in the descriptions of constant expressions 4 5 struct S { 6 static const int c = 5; 7 }; 8 int a[S::c]; 9 10