(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
initlist-explicit1.C
// PR c++/67631
// { dg-do compile { target c++11 } }

struct X
{
  explicit operator unsigned ();
};
unsigned foo ()
{
  return unsigned{ X () };
}