Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist-defarg2.C

raw
1 // PR c++/82336
2 // { dg-do link { target c++11 } }
3
4 struct foo { int x = 5; };
5 struct bar : foo { bar() = default; };
6 struct baz { bar x; };
7 void qux(baz = {}){}
8 int main() { qux(); }