1 // PR C++/21645 2 // We were crashing because we forgot to update the type for 3 // the cloned argument for the cloned ctor. 4 5 struct color { 6 ~color(); 7 }; 8 struct style { 9 color col; 10 style (color); 11 }; 12 style(color c)13 style::style(color c) 14 : col(c) 15 { 16 } 17 18