Here is a code snippet that looks illegal to me. It involves an enum in a class that can be accessed by prepending the class name an arbitrary number of times. This occurs in gcc-3.4.*, gcc-3.1.1, gcc-4.3. What do the language gurus say? Ed Smith-Rowland
Attachment:
gcc_bug.cpp
Description: gcc_bug.cpp