1 2 3 4 5 6 7 8 9 10 11 12 13
// { dg-do link } // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org> // DR48: Definitions of unused static members struct A { static const int size = 10; int array[size]; }; int main() { A a; return 0; }