[LLVMbugs] [Bug 14490] New: clang accepts incorrect code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 3 09:26:02 PST 2012


             Bug #: 14490
           Summary: clang accepts incorrect code
           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

clang accepts the following code:

template <template <typename T, typename T::mytype2 x> class X>
struct z

template <typename T, typename T::mytype xx>
struct x

z<x> zz;

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