// PR c++/83186 // { dg-do compile { target c++11 } } struct a { operator unsigned(); }; template void b() { static_cast(a{}); } int main() { b(); }