Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr105256.C

raw
1 // PR c++/105256
2 // { dg-do compile { target c++11 } }
3
4 int bar (int &);
5
6 struct S {
7 struct T {
8 struct U {
9 int i = bar (i);
10 } u;
11 };
12 };
13
14 void
15 foo (S::T *p)
16 {
17 *p = {};
18 }