c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr105256.C
bloba97949d796a84c930faf262642e4aefd34638438
1 // PR c++/105256
2 // { dg-do compile { target c++11 } }
4 int bar (int &);
6 struct S {
7   struct T {
8     struct U {
9       int i = bar (i);
10     } u;
11   };
14 void
15 foo (S::T *p)
17   *p = {};