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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to