Open PolarLinda6 opened 2 months ago
Assertion: https://godbolt.org/z/79W1qTxzW
clang++: /root/build/tools/clang/include/clang/AST/TypeNodes.inc:79:
clang::TypeInfo clang::ASTContext::getTypeInfoImpl(const clang::Type*) const:
Assertion `!T->isDependentType() && "should not see dependent types here"' failed.
@llvm/issue-subscribers-clang-codegen
Author: PolarLinda6 (PolarLinda6)
error message:
Additional Information:
Version: clang version 18.1.8 compilation parameters: -std=c++20 Link: godbolt
PS: The code compiles successfully on gcc and msvc.