blob: 5446d85f3aab19a26eebcfc1e4a11d669aa318d3 [file] [log] [blame]
// PR c++/83186
// { dg-do compile { target c++11 } }
struct a {
operator unsigned();
};
template <class> void b() { static_cast<unsigned>(a{}); }
int main()
{
b<int>();
}