1 enum class Foo { 2 FooBar = 42 3 }; 4 5 enum Bar { 6 BarBar = 3, 7 BarBarBar = 42 8 }; 9 main(int argc,const char ** argv)10int main(int argc, const char **argv) { 11 Foo f = Foo::FooBar; 12 Bar b = BarBar; 13 bool b1 = f == Foo::FooBar; 14 bool b2 = b == BarBar; 15 return 0; // Set break point at this line. 16 } 17