// Other testcases from P2082R1 // { dg-do compile { target c++20 } } template struct X {}; int main() { X x1; X x2 {x1}; } template struct A { T array[N]; }; A a1 = {{1, 2, 3}}; // should deduce A A a2 = {"meow"}; // should deduce A template struct B { T array[2]; }; B b = {0, 1}; template struct C : T... {}; C c = { []{ return 1; }, []{ return 2; } };