http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56911

--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2013-04-10 18:39:14 
UTC ---
(In reply to comment #2)
> Hmm, I can confirm the ICE (and it's not the only one in this directory):

To be precise, 4.8 branch that works for me:

xgcc (GCC) 4.8.1 20130410 (prerelease) [gcc-4_8-branch revision 197677]

~/gcc-build-48/gcc/cc1plus -fpic -std=c++11 enum25.C
 int main()
enum25.C:17:8: error: ‘enum class D::Y’ is not a member of ‘C’
   c.D::Y;   // { dg-error "not a member" }
        ^

(Which is expected error).

Reply via email to