blob: f3f7f1ae5bb723691eede85a8c6fe0a0690c7b40 [file] [log] [blame]
// PR c++/83942
// { dg-do compile { target c++11 } }
// { dg-additional-options "-Wall" }
enum class E { E1 };
int main() {
E const e = E::E1;
return static_cast<int>(e);
}