[LLVMbugs] [Bug 9573] New: Attempt to instantiate invalid nested class declaration crashes clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 27 20:54:14 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9573

           Summary: Attempt to instantiate invalid nested class
                    declaration crashes clang
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: schaub.johannes at googlemail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Clang crashes on this code:

template<typename T>
struct A {
  struct A; // should probably diagnose this.
};

template struct A<int>::A; // crashes here.

-- 
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