Debian Codegraph @

gcc/testsuite/g++.dg/other/static3.C

raw
1 void foo()
2 {
3 struct S
4 {
5 static const int a = 0; // { dg-error "22:local class" }
6 };
7 }