// PR c++/81952 // { dg-do run { target c++11 } } template struct opt { opt() { } opt(opt const& ) { __builtin_abort (); } opt(opt&& ) { __builtin_abort (); } template opt(U&& ) { } }; struct foo { explicit operator opt() { __builtin_abort (); return {}; } }; int main() { opt o(foo{}); }