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

    <tr>
        <th>Summary</th>
        <td>
            Position of attribute of lambda call operator relative to _noexcept-specifier_ is inconsisntent with GCC and MSVC
        </td>
    </tr>

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

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

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

<pre>
    I found this out while working on <https://github.com/hsutter/cppfront/pull/506>.
See <https://compiler-explorer.com/z/qnMEv81Tx>:
```C++
#if defined(_MSC_VER)
auto f = []() noexcept [[msvc::forceinline]] { };
#elif !defined(__clang__)
auto f = []() noexcept __attribute__((always_inline)) { };
#else
auto f = []() __attribute__((always_inline)) noexcept { };
#endif
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMk99vozgQx_-a4WWUyNhA4IGH5gfVnVSpup76iowZgu8cm7NN0t5fvyLpble7VVVpJMQw8_0wX83IEPTREtWQbyHfJ3KOo_P1n24kc7h_TDrXv9Z_4OBm22McdUA3R7yM2hBenP9X2yM6iyB2Y4xTAHEHvAHeHHUc526t3Al4M4Y5RvLAGzVNg3c2Am-m2RjgTc4KEIc1sD2wuyei36WUO03akF_Ry2ScJ_-m-j_w5j_7cDiX6d8vIA5Lw1UFCnaLHfDtErcsF3rAngZtqQdetg9Pu_b58Bfw6lYg5-hwQBB7vJkBvAReoXX0omiKt-z2FM5qQYm7wXlF2hptaanO9wibLcJmD-KdSUYPCDz9CdwqI-2xbb9OblsZo9fdHGlpK4GX0lzka2jf8Lxa6j_EB_oc8kXtdxc-gNheD794n_S16CtRyYTqtKjKnGV5liZjXXRpKsoi3eQZE4qyash6LlQxZEJsqO8SXXPGRcp4mWZZxdL1UFR9KqhSkgmWSoKM0UlqszbmfFo7f0x0CDPVG5bnRWJkRyZc95lzSxe8fgTOl_X29dKz6uZjgIwZHWJ4V4k6GqofXdBRO4tuwB_OLC9GnrpeopLGoJvIy-g8ejIy6jNhdNh-92gVJlJ60ORb1AG1Vc4GHWwkG_Gi44j3ux1K2-PD0_Mumb2pP7me5f_eHqvJu39ILedznSoAb65TfwsAAP__CU4m_Q">