<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - compiler crash on use of undeclared identifier to deduce lambda return type"
   href="https://llvm.org/bugs/show_bug.cgi?id=24696">24696</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>compiler crash on use of undeclared identifier to deduce lambda return type
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++14
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>const@const-iterator.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14835" name="attach_14835" title="Preprocessed source file to produce crash">attachment 14835</a> <a href="attachment.cgi?id=14835&action=edit" title="Preprocessed source file to produce crash">[details]</a></span>
Preprocessed source file to produce crash

When compiling the attached file with -std=c++14, clang crashes (on ubuntu
trusty x64)

The error occurs in:
 - the nightly build 1:3.8~svn246548-1~exp1
 - ubuntu package 1:3.6-2ubuntu1~trusty1

It does not occur in
 - ubuntu package 1:3.5-4ubuntu2~trusty2

When compiling with -std=c++11, it works (yielding the obvious error message)</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>