[llvm-bugs] [Bug 40708] New: CTAD with function pointer causes SegFault in MakeInstantiatedLocalArgPack
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 12 14:59:14 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40708
Bug ID: 40708
Summary: CTAD with function pointer causes SegFault in
MakeInstantiatedLocalArgPack
Product: clang
Version: 7.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++'17
Assignee: unassignedclangbugs at nondot.org
Reporter: Roland.Schulz at Intel.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
Code:
template<typename R, typename...Args>
struct S {
S(R(*)(Args...));
};
void g();
void f() {
S s(g);
}
https://godbolt.org/z/bba3f2
--
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/20190212/236fcd49/attachment.html>
More information about the llvm-bugs
mailing list