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

    <tr>
        <th>Summary</th>
        <td>
            Clang crashes if a constructor has an identifier in front of it and is used in a constant expression
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:frontend,
            crash-on-invalid
      </td>
    </tr>

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

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

<pre>
    With `-std=c++03`, clang crashes on
```c++
struct V {
  char c[2];
 banane V() : c("i") {}
};
_Static_assert(V().c[0], "");
```
It looks like this was introduced in Clang 11: https://godbolt.org/z/Px7ETWqaG
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUs2OnDwQfJrm0poRNGM8HDjMz8en3CIl2j2ujO0ZOuu1J7bZbPL0EQzZVYKQwNXuqnaVVUp89dZ2II4gzoWa8hhidxvZeX6WUhZDMD-7R84jQlNuUjZQnzXQEehY1tCUQCfUTvkr6qjSaBMGD-UZysNcXN51-x1NOU464wOCXBFEPaqIGsSRQJyh_oMPyitv8QFoD9Qi1AfUyz8xEC2QPII8r3Lyo_XpS1aZ9ZNKycYMtF85trNIOYvQCReOmea97X3i-_JTRhfCc0LHzxbzyAl_qITscwxm0tYgezwtZ6-qebox51uC-gDUA_XXYIbg8jbEK1D_C6j__Cb_-_r4Xf1fmK42bd2qwnZV07ayIimqYuwGu5O1lDvZChKGGlE2g5D7pjRtZYVWBXdUUl3Nz46EqLa0r0jtjW52wg6kB9iV9kWx2zr3-jJrF5zSZDtJJYnCqcG6tKRNtMQG9eESg8_Wm8WN01yYk9wEv2H_qhwvBXEuYjdzbobpmmBXOk45fahkzs52p79uAl9QoQ7-nnmIOKqEyiMb6zNf2MbZwUUewwU5o_IGOeGU7uau3cpntG-3aFPi4Ispuu4fqzmP07DV4QWon0daP5tbDN-szkD94kIC6hcjfgcAAP__pJrjFg">