PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist-explicit1.C
blob5e00b2d48cc86ac94e49067ef31d791152437569
1 // PR c++/67631
2 // { dg-do compile { target c++11 } }
4 struct X
6   explicit operator unsigned ();
7 };
8 unsigned foo ()
10   return unsigned{ X () };