diff --git a/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp index 09e6a23bea7a..60354cca6f31 100644 --- a/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp @@ -520,8 +520,6 @@ TEST_F(CoreAPIsStandardTest, DropMaterializerWhenEmpty) { }, [&]() { DestructorRun = true; }); - auto &V = ES.createVSO("V"); - cantFail(V.define(MU)); cantFail(V.define(absoluteSymbols({{Foo, FooSym}})));