[LLVMbugs] [Bug 16909] New: Accepts-invalid with dependent name not prefixed with typename

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 15 22:04:10 PDT 2013


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

            Bug ID: 16909
           Summary: Accepts-invalid with dependent name not prefixed with
                    typename
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sharparrow1 at yahoo.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Testcase:

template <typename,typename>
struct base {
  template <typename> struct derived;
};
template <typename T, typename U, typename V> base<T, U>::derived<V> foo();

We should print an error about the missing typename and template keywords.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130816/d6e49b81/attachment.html>


More information about the llvm-bugs mailing list