The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
28.57k
stars
11.81k
forks
source link
[clang] Assertion `RT->getDecl()->isUnion() && "RecordType is expected to be a union."' failed. #113042
Open
yijan4845 opened 2 hours ago
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/WWhd43dno
This invalid code will crash on Clang Assertion Trunk:
It seems that this goes back to clang-3.6.
Stack dump: