(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
enum9.C
// { dg-do compile { target c++11 } }

enum class E { };
E f();
bool b2 = static_cast<bool>(f());