Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / init / value2.C
blobfbe16647126434f45e316ae64bcec8534b6e512e
1 // PR c++/35116
2 // Test that break_out_target_exprs works properly with complex
3 // value-initialization.
5 struct A
7   virtual void f ();
8 };
10 struct B
12   A a;
15 struct C
17   C (int, B = B());
20 void f ()
22   C c (4);