Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-explicit1.C
blob: 5e00b2d48cc86ac94e49067ef31d791152437569 [
file
] [
log
] [
blame
]
// PR c++/67631
// { dg-do compile { target c++11 } }
struct
X
{
explicit
operator
unsigned
();
};
unsigned
foo
()
{
return
unsigned
{
X
()
};
}