Debian Codegraph @

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

raw
1 // { dg-do run }
2 // Origin: Mark Mitchell <[email protected]>
3 // Special g++ Option: -fdata-sections
4
5 void f()
6 {
7 static int ctors[3] = { 0, 0, 0 };
8
9 ctors[2] = 7;
10 }
11
12 int main ()
13 {
14 f ();
15 }