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