1 // { dg-do compile { target c++11 } }
2 
3 enum class E { };
4 E f();
5 bool b2 = static_cast<bool>(f());
6