[LLVMbugs] [Bug 14155] New: clang accept incorrect out of line class definition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 23 05:36:37 PDT 2012


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

             Bug #: 14155
           Summary: clang accept incorrect out of line class definition
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: vanyacpp at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


template <typename T>
struct x
{
    typedef T y;
};

template <typename T>
struct x<T>::y::z // OK in clang, ERROR in gcc, comeau, CRASH in MSVC
{};

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