[llvm-bugs] [Bug 42057] Invalid std::function syntax in struct causes segfault

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 29 16:24:42 PDT 2019


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Standalone testcase:

template<typename T> struct function;
struct Foo { function(void()) test; };

Thanks for the report. This is already fixed for clang 9.

-- 
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/20190529/a9c5fcb0/attachment.html>


More information about the llvm-bugs mailing list