[LLVMbugs] [Bug 18477] lambda capturing confused when instantiating a class with a default initializer
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jan 16 19:11:47 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18477
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Reduced further, three more testcases:
auto x = []{ struct S { int n, m = n; }; } // rejects-valid
auto y = [&]{ struct S { int n, m = n; }; } // crash-on-invalid
void f() { auto z = [&]{ struct S { int n, m = n; }; } } // crash-on-valid
Fixed in r199453.
--
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/20140117/c3cb9b46/attachment.html>
More information about the llvm-bugs
mailing list