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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to