Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
()
};
}