1 // PR c++/91363 - P0960R3: Parenthesized initialization of aggregates. 2 // { dg-do compile { target c++2a } } 3 4 struct A; 5 6 struct C { 7 operator A(); 8 }; 9 10 struct A { 11 C c; 12 }; 13 14 C c; 15 A a(c); // invokes C’s conversion function to A 16 17 // { dg-final { scan-assembler "_ZN1Ccv1AEv" } } 18