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

    <tr>
        <th>Summary</th>
        <td>
            [clang] 19.0.0 aborts due to Assertion `!T->isDependentType() && "should not see dependent types here"` failed in `tools/clang/include/clang/AST/TypeNodes.inc`
        </td>
    </tr>

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

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

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

<pre>
    Compile the following `1.cpp` with command line `clang++ -Xclang -fdump-record-layouts-complete 1.cpp` cause a clang abort:
```cpp
template <class Pointer>
struct AllocationResult {
 Pointer ptr = nullptr;
  int count = 0;
};
int main(){}
```

The attachment is crash backtrace, preprocessed source, and associated run script.
[crashsite.zip](https://github.com/llvm/llvm-project/files/14470166/crashsite.zip)

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUk2P4zYM_TXMhYghy7EdH3xIJptjUbRz6FWWmFizsiRIVBfTX1_Ynpl-3BYwbIt8fKQen8rZPj3RCO0V2ttBFZ5DGqe39Pb9MAXzPr6EJVpHyDPhIzgXflj_ROhEXekYoRP4w_KMOiyL8gad9bRmtVP-CfIK8orHP7YTHh-mLPGYSIdkjk69h8L5qMMSHTHhF6FWJRMq3KvUFBJDcwFxA3GBTuzPit0iTEt0igmhedFO5Yy_BuuZEjTfdkTmVDTjxbmgFdvgf6NcHCP01x3wWYGRE0JzQ1-ci5yg-QSg9Yw6FM9bXnxloL99_a-YRVkP8gxyWNn72_-m_jhu79eZUDErPS_kGW1GnVSecVL6OyelCeQLxkQxBU05k8EcStrDq9Qq56CtYjKYisesk41cfXRorxtZtkzVXzZCewN5npljXqWUd5D3p-W5TJUOC8i7c39-fo4xhTfSDPL-sI4yyHt9OvWi7jqQ9__SymHvdzBjY4ZmUAca614MzTDIszzM4zTJVvZtb7rm0TRiaqZaT0Kc1aC7Vkh1sKMU8iQaIetenIWsetU1-mQ6NdSqm1oNJ0GLsq5aZ6tCeh5szoXGc9OdTwenJnJ5s6-UH6aTq5PTuN1lKs8MJ-Fs5vwPA1t2m-f3ivaG9VCJSuxmy2gKIQe85ExpNczqaJD16xGabzbfKJI35Pn1PdK-bATZgewQpMxzKM6gD4yZCM0nGPk9UsaZEq0jdgIfyjoyaDd6DsGtUn_c4W69dsXQvyKX319B3teevwRDubJeQycOJbnxpxe7Sbi221T8OwAA___w0UJQ">