// PR c++/48106 // { dg-do compile { target c++11 } } enum class E : char { e }; bool operator&(E e, char m) { return static_cast(e) & m; }