<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:popizdeh@gmail.com" title="Nikola SmiljaniÄ <popizdeh@gmail.com>"> <span class="fn">Nikola Smiljanić</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - crash with lambda (auto) return type" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D20611&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=4HMsgqZZGJ4T4Elj0_IprM57TRUTqRGm7RG40jZRzcA&s=roRHEcDdUmAoIfKzRRloT9VK9oCNblJvRQKowKCP_FI&e=">bug 20611</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>popizdeh@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - crash with lambda (auto) return type" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D20611-23c3&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=4HMsgqZZGJ4T4Elj0_IprM57TRUTqRGm7RG40jZRzcA&s=WN6-Jxpucx26o6aJ9IUwjWoCoZltm70kdC8LbNyfcZA&e=">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed" title="RESOLVED FIXED - crash with lambda (auto) return type" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D20611&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=4HMsgqZZGJ4T4Elj0_IprM57TRUTqRGm7RG40jZRzcA&s=roRHEcDdUmAoIfKzRRloT9VK9oCNblJvRQKowKCP_FI&e=">bug 20611</a>
from <span class="vcard"><a class="email" href="mailto:popizdeh@gmail.com" title="Nikola SmiljaniÄ <popizdeh@gmail.com>"> <span class="fn">Nikola Smiljanić</span></a>
</span></b>
<pre>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) {</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>