Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C

raw
1 // { dg-do assemble { target fpic } }
2 // { dg-options "-O0 -fpic" }
3 // Origin: Jakub Jelinek <[email protected]>
4
5 struct bar {
6 bar() {}
7 double x[3];
8 };
9
10 static bar y[4];
11
12 void foo(int z)
13 {
14 bar w;
15 y[z] = w;
16 }