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

    <tr>
        <th>Summary</th>
        <td>
            cNTTP with pointer past the end is accepted
        </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>
    See https://godbolt.org/z/ozYx44fv9.
```C++
int a;
struct b { int* c; };
template<auto> struct d{};
d<b{&a + 1}> e; // Clang accepts.
d<&a + 1> f;
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUcFu2zAM_Rr5QsyQJduNDzqkSTpgh6JAe9lRsmhbg2IZltyu_foyWpYVAyhI5OMjn0gT7Lt6RoQppSUyuWfigWwM1gSfyrCO5H3QCR8_f9f18NqVjB8Z37OW_7EDE_cXy1E3J9BMXr2Y1q1PYIDd3QNBTOyhJ5T84y0p4XnxOiGTB72lwOQJrjxLtK-ZllLMJSZaDdQSqoyeAHPNLBwOXs8j6L7HJcXyH_ELiRjDrejtH4VV0nay00VyyaPqH19enuDNpQmWQOJxhUXHBGlCwNmCi9cuaItt9eq_ARJvM2UfzuR4__r3-ras4Rf2NIoHF-OGkR5N23RdMSlZmWYndIdtxe3QmJrLXuuhblsUQ6V3hdcGfVSsoRGIGd8gl6A3a46FU4ILwe-qnRCCTmkHU2mJ2nKxayptWM3xrJ0vLzoumy1WlSWZbYwEehdpYjdQx-jGGTG3o_q0nCms6keY0J--PxW5t8raPwEapKs1">