[LLVMbugs] [Bug 10398] New: Clang won't accept a null pointer constant as a non-type template argument

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 18 13:38:26 PDT 2011


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

           Summary: Clang won't accept a null pointer constant as a
                    non-type template argument
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: scshunt at csclub.uwaterloo.ca
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Clang does not accept the following:

template <int*> struct foo;
template <> struct foo <0> {};

This is probably a regression; it was discovered while investigating bug 10396.

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