☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
init6.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/init6.C
code
plain
raw
1
// { dg-do run }
2
// Test for default-initialization of POD-structs in functional cast notation.
3
4
struct foo { int a[10]; };
5
6
int main()
7
{
8
foo f = foo();
9
int r = 0;
10
for (int i = 0; i < 10; ++i)
11
r |= f.a[i];
12
return r;
13
}