PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum9.C
blobf359b425fd4793524ff0d4a877c16d444a534aa0
1 // { dg-do compile { target c++11 } }
3 enum class E { };
4 E f();
5 bool b2 = static_cast<bool>(f());