[llvm-bugs] [Bug 49951] New: compile crash on template template

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 13 05:11:42 PDT 2021


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

            Bug ID: 49951
           Summary: compile crash on template template
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: schaumb at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 24749
  --> https://bugs.llvm.org/attachment.cgi?id=24749&action=edit
stderr/stdout

Reproduction test case

Clang segfaults on the following code snippet:
```
template<typename T,
    template<T> class SType,
    template<T, template<T> class> class TT>
void fun() {
    TT<T{}, SType>{};
}
```


https://wandbox.org/permlink/lU7e5aeViujWSRnD


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

-- 
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/20210413/14ce1a1b/attachment.html>


More information about the llvm-bugs mailing list