[LLVMbugs] [Bug 22573] New: clang accepts variable template partial specialization with default arguments

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 12 16:20:14 PST 2015


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

            Bug ID: 22573
           Summary: clang accepts variable template partial specialization
                    with default arguments
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++14
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang accepts this invalid code:

template<typename...> int x;
template<typename T = int> int x<T>;

-- 
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/20150213/c6398323/attachment.html>


More information about the llvm-bugs mailing list