#include <iostream> using namespace std; int main() { // your code goes here enum testEnum { e1, e2 }; testEnum te = e1 | e2; }
Standard input is empty
prog.cpp: In function 'int main()':
prog.cpp:7:24: error: invalid conversion from 'int' to 'main()::testEnum' [-fpermissive]
testEnum te = e1 | e2;
^
Standard output is empty