<html>
    <head>
      <base href="http://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 --- - crash when __finally isn't followed by a {"
   href="http://llvm.org/bugs/show_bug.cgi?id=22687">22687</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>crash when __finally isn't followed by a {
          </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>All
          </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>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ cat foo2.cc 
void f() {
  __try { } __finally int a;
}
$ bin/clang-cl /c foo2.cc 
Assertion failed: (Tok.is(tok::l_brace) && "Not a compount stmt!"), function
ParseCompoundStatement, file
/Users/thakis/src/llvm-rw/tools/clang/lib/Parse/ParseStmt.cpp, line 829.
0  clang-3.5                0x000000010e070959
llvm::sys::PrintStackTrace(__sFILE*) + 57
1  clang-3.5                0x000000010e0710eb SignalHandler(int) + 635
2  libsystem_platform.dylib 0x00007fff858dcf1a _sigtramp + 26
3  libsystem_platform.dylib 0x00007fff69ad0764 _sigtramp + 3827251300
4  clang-3.5                0x000000010e070e56 abort + 22
5  clang-3.5                0x000000010e070e31 __assert_rtn + 81
6  clang-3.5                0x000000010ea97f28
clang::Parser::ParseSEHFinallyBlock(clang::SourceLocation) + 536</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>