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

Nikola Smiljanić <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #3 from Nikola Smiljanić <[email protected]> ---
Doesn't crash with 3.6, emits:

test.cpp:6:33: error: expected a type
auto l = [](auto& container) -> (auto) {
                                ^
test.cpp:6:34: error: 'auto' not allowed in function prototype
auto l = [](auto& container) -> (auto) {

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to