1 // { dg-do run }
2 // Test for default-initialization of POD-structs in functional cast notation.
3
4 struct foo { int a[10]; };
5
main()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 }
14