[LLVMbugs] [Bug 13454] New: Ignores dependent base classes using qualified lookup in definition context

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 25 01:50:14 PDT 2012


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

             Bug #: 13454
           Summary: Ignores dependent base classes using qualified lookup
                    in definition context
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: schaub.johannes at googlemail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


This should work fine, but Clang doesn't accept the absence of "typename" in
the definition of "B"

template<typename T> struct A { 
   typedef int type; 
   struct B; 
}; 

template<typename T> struct A<T>::B : A<T> { 
   B::type t; 
};

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