[LLVMbugs] [Bug 16907] Crash in lambda expression

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 25 20:52:42 PDT 2015


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

Davide Italiano <davide at freebsd.org> changed:

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

--- Comment #2 from Davide Italiano <davide at freebsd.org> ---
Fixed in head.
% ./clang++ lamda.cpp -o lambda
lamda.cpp:5:5: warning: 'auto' type specifier is a C++11 extension
[-Wc++11-extensions]
    auto f = []() {
    ^
lamda.cpp:5:14: error: expected expression
    auto f = []() {
             ^
1 warning and 1 error generated.

-- 
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/20150426/939ad559/attachment.html>


More information about the llvm-bugs mailing list