Open iamanonymouscs opened 3 days ago
@llvm/issue-subscribers-clang-frontend
Author: Anonymous (iamanonymouscs)
I've minimized the original example with cvise:
template <bool B1> struct outer {
template <B2> struct inner
struct inner<B1>
}template < typename > struct outer;
outer<int>::
I could bisect it to 2bb3d3a3f32ffaef3d9b6a27db7f1941f0cb1136 (PR).
Here is another reproducer in valid C++ (which is the reason I stumbled upon this bug):
import std;
int main()
{
std::tuple<int> t{};
std::get<0>(t);
}
Modules are involved here, so the underlying bug may be a different one... The assert being hit is the same, though.
CC @sdkrystian
Description
I encountered a crash in Clang-20 when compiling the following code snippet:
Command
The compilation command used was:
Error Message
The issue can also be reproduced on Compiler Explorer:https://godbolt.org/z/91cMa4abK Please let me know if you need any more details.