[llvm-bugs] [Bug 44123] New: different type of non-type template parameter in partial specialization is not rejected

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 22 15:49:28 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=44123

            Bug ID: 44123
           Summary: different type of non-type template parameter in
                    partial specialization is not rejected
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nok.raven at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

template <int I>
struct foo {};

template <long L>
struct foo<L> {};

foo<0> a;

-- 
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/20191122/fb559453/attachment.html>


More information about the llvm-bugs mailing list