<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/60914>60914</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [MSVC][EH]clang-cl results in uncaught exception
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Naville
      </td>
    </tr>
</table>

<pre>
    ```
#include <malloc.h>
#include <stdio.h>

struct Exn {};

int main() {
  try {
    static bool StaticVar = false;
    if (!StaticVar) {
      StaticVar = true;
    }

    volatile void* used = alloca(4);

    try {
      throw Exn();
    } catch (Exn &e) {
      throw;
 }
  } catch (Exn &) {
  }

  printf("Good\n");
  return 0;
}
```
![WXWorkCapture_16770503959714](https://user-images.githubusercontent.com/5205699/220550243-2bfac8bd-1251-4d5b-aaef-5f8c14c136b0.png)
We're currently using 16.0.0-RC2

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsU0lv8zYQ_TWjCyGBGolaDjrEdtxe2kM_IOmtoChaYkuTBhcn-feFGMOxnQiCllke33tDcu_VbKQcgG2A7TIew2Ld8Cc_K61lNtrpY4CGXm66A_oEWCkjdJwkgWp75FpbUSxQPf-U9mFS9jabnj64KAJ5fjcE2g20O6g2t3llAjlyZQA7wD7VpDghwX3c_hLiAw9KkNFaTX6l7xfuCFQ7cuDayyvwWqsOJCGW18IH9PW6Bwku3mOsZG-YrqGz1TwoLcnZqgnwiUQvp9SdvOGAXQ3YP2hcO7-pISQszr6tznxqf1ybCB7EsspI5mEjf5CQML46r5R_RngA-Cbw5JQJh0QHf7N2ArY1gHhPzskQnSH0S-QV5nH3lMA2r3-_Wvfflp9CdPKfsmlbymjVs74ta2A7wG4J4eShegLcA-6jly5XRz5LX8wqLHFcI8KaIE0ohD0C7hlS1vQ94B6RMkaxrnIcD1x045SXyMq8ntiYcy4POTt0oqxFWTUjLU5mXsUkeq8SsHWSiOicNEF_kOiVmUnZFLSg-V9b_KzLpqGa-qrnmRwu9OuqzpZBjFPZs7Fuy0lw2VNGx06M4yRL0XS0nTI1IMWKIiJtkVZ10ZXiIBl2suOyatgINZVHrnSh9flYWDdnyvsoh4b2ZZ1pPkrt03FFNPKNpOQ6D7bL3LD25GOcPdRUKx_8F0pQQadz_sevl-1qMts8_w5sJzQ3cy40cdJHHTxRhkQjeJyXQOS7kKegrMmi08P9UD4HcXF_Xebyyk_O_itFANwnch5wn8j_HwAA__-2VzxQ">