[LLVMbugs] [Bug 2320] New: clang crashes on nested enum
    bugzilla-daemon at cs.uiuc.edu 
    bugzilla-daemon at cs.uiuc.edu
       
    Mon May 12 16:43:26 PDT 2008
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=2320
           Summary: clang crashes on nested enum
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
enum e0 {E0 = sizeof(enum e0 { E1 })};
Run with clang -fsyntax-only:
clang: /home/eli/llvm/tools/clang/lib/Sema/SemaDecl.cpp:1850: virtual void
clang::Sema::ActOnEnumBody(clang::SourceLocation, void*, void**, unsigned int):
Assertion `!Enum->isDefinition() && "Enum redefinitions can't reach here"'
failed.
-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
    
    
More information about the llvm-bugs
mailing list