================
@@ -91,6 +93,53 @@ TEST_F(InterpreterTest, IncrementalInputTopLevelDecls) {
EXPECT_EQ("var2", DeclToString(*R2DeclRange.begin()));
}
+TEST_F(InterpreterTest, BadIncludeDoesNotCorruptTU) {
----------------
vgvassilev wrote:
Can we extend either `clang/test/Interpreter/execute.c` or
`clang/test/Interpreter/fail.cpp` tests instead? I think it would be simpler to
write and maintain.
https://github.com/llvm/llvm-project/pull/153945
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits