[llvm-bugs] [Bug 36852] New: Segfault with alias templates using template template parameters

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 21 08:56:45 PDT 2018


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

            Bug ID: 36852
           Summary: Segfault with alias templates using template template
                    parameters
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kuanweeloong at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20097
  --> https://bugs.llvm.org/attachment.cgi?id=20097&action=edit
Reproduction test case

Clang segfaults on the following code snippet:

// clang++ -std=C++17 
template <typename>
struct test
{
    struct nested
    {
        template <template <typename> typename>
        using type = void;
    };

    template <template <typename> typename T>
    using type = typename nested::template type<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/20180321/1e9f608d/attachment.html>


More information about the llvm-bugs mailing list