Open yype opened 1 month ago
@llvm/issue-subscribers-clang-frontend
Author: yype (yype)
Looks like the crash goes back to clang-14: https://godbolt.org/z/T5WKTEc48
was this fuzzer generated?
Assertion on clang trunk: https://godbolt.org/z/Ma7c3v5Y5
clang++: /root/llvm-project/clang/lib/Sema/SemaDecl.cpp:1308:
void clang::Sema::PushDeclContext(clang::Scope*, clang::DeclContext*):
Assertion `DC->getLexicalParent() == CurContext && "The next DeclContext should be lexically contained in the current one."' failed.
Looks like the crash goes back to clang-14: https://godbolt.org/z/T5WKTEc48
was this fuzzer generated?
Yes. It was generated by a fuzzer.
Hello there, clang++ crashes on the following test case:
Tested version(s): 19.1.0, trunk.
Example: https://godbolt.org/z/nnj3sYKbP
Stack dump: