Debian Codegraph @

gcc/testsuite/g++.dg/tc1/dr94.C

raw
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