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

    <tr>
        <th>Summary</th>
        <td>
            Clang does not know, that noop_coroutine is noop
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    ```C++
#include <coroutine>

void foo() {
    std::coroutine_handle<void> h = std::noop_coroutine();
 h();
}
```
https://godbolt.org/z/o8zKsfrbn

As i understand its just lack of attributes on inner function pointers
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUc1u4zwMfBr6QjRQJNuxDz6kSX35HqKQJTlWo4iBRPXD9ukXTpPNbgFCPxRnyNHonP0pOjdA8wrNsdKFF0rD2YWJYjWR_TVAK77jAPJ1DXEEsQepfDShWIegDoYSFfbRgXq7v9_WT_IWZyKQHcgeYXdHIyJmtqD2oPZ_wO-LjjY4UIcVB-oNFwR1fFZGouv7s9eNFNSDc_mRgN3xfngo-L4uzNe8EsoR5HgiO1HgDaUTyPEL5Ejd1395TlP8W8k-o8cSrUuZdbToOeNHyYxBmzPSjJo5-amwy0gRfYwu4VyiYU8Rr-Qju5QrOyjbq15Xbti2_baRshNNtQxma-xUz1YY3ZnG1UZ2tu1sI9Rs9K5vKj9IIZXoRLftZVs3m9l1qrGtENt-V7umhlq4i_ZhE8LnZVVT-ZyLG9q6qWUV9ORCfrichrXoZSqnDLUIPnN-wthzcMMh6HhCSy5jJMZzpP9BHpAXzfivDejzLVOVFIYff-t5KdPG0AXkuDa4by_XRB_OMMjxNmQGOd7m_B0AAP__yFTJNQ">