mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 05:16:06 +00:00

This test is failing to compile when LLVM_ENABLE_MODULES=ON due to NamedDecl being multiply defined. Fix this by avoiding declaring our own NamedDecl in the test and instead cast a struct of appropriate size and alignment to NamedDecl.