Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/static1.C

raw
1 // { dg-do assemble }
2 extern "C" void abort();
3
4 struct S
5 {
6 static const int i = 3;
7 };
8
9 const int S::i = 2; // { dg-error "" } duplicate initialization