[llvm-bugs] [Bug 45142] New: Segfault from pseudodestructor with template alias
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Mar 7 11:47:40 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=45142
Bug ID: 45142
Summary: Segfault from pseudodestructor with template alias
Product: clang
Version: 9.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: ndkrempel 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
I don't have a view on whether the following code is valid C++ or not, but it
is segfaulting clang:
template <typename T> using Alias = int;
int main() {
(1).template ~Alias<int>();
}
(Compile error in 8.0.0, segfault in 9.0.0 up.)
--
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/20200307/5fb9e10d/attachment.html>
More information about the llvm-bugs
mailing list