PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / init / ctor5.C
blobcc933188201772fcceedd3e1227cfa752c2efc98
1 //  PR C++/21645
2 //  We were crashing because we forgot to update the type for
3 //  the cloned argument for the cloned ctor.
5 struct color {
6   ~color();
7 };
8 struct style {
9   color col;
10   style (color);
13 style::style(color c)
14   : col(c)