blob: 5e00b2d48cc86ac94e49067ef31d791152437569 [file] [log] [blame]
// PR c++/67631
// { dg-do compile { target c++11 } }
struct X
{
explicit operator unsigned ();
};
unsigned foo ()
{
return unsigned{ X () };
}