[LLVMbugs] [Bug 8167] New: Invalid template code accepted

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 16 08:47:32 PDT 2010


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

           Summary: Invalid template code accepted
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


The line:

template < int 0 ;

is accepted by clang++, with a warning. It should be rejected.

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