☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
static15.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/static15.C
code
plain
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
}