2 // { dg-do compile { target c++14 } }
4 struct S { S (void ()); };
5 S foo([] (auto...) { });
6 S foo2{[] (auto...) {}};
7 S foo3 = {[] (auto...) {}};
9 struct W { W(void (int)); };
10 W bar([](auto...) { });
11 W bar2{[](auto...) { }};
12 W bar3 = {[](auto...) { }};
14 struct T { T(void (int, int)); };
15 T qux([](auto...) { });
16 T qux2{[](auto...) { }};
17 T qux3 = {[](auto...) { }};
19 struct R { R(void (int, int, int, int, int, int, int, int, int, int)); };
20 R baz([](auto...) { });
21 R baz2{[](auto...) { }};
22 R baz3 = {[](auto...) { }};