Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // { dg-options "-w" }
3 // Origin: Ulrich Drepper <[email protected]>
4
5 struct st
6 {
7 int a;
8 };
9
10 int
11 foo (int a)
12 {
13 static const st i = { 0 };
14
15 if (i.a == a)
16 return 0;
17 }