http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56904
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2013-04-11 02:53:29 UTC --- In C++11, enums have scopes, so the :: after the E is interpreted as looking for a member of E. icc and clang reject the testcase for the same reason.