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.
2.8 KiB
2.8 KiB