repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
static15.C
blob
ecf477f68cb28ad18d0e40ec480279e91fbcffe2
1
// { dg-do run }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
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
}