From b03accbbb47905d16a39d6ce53b8fe9452e40a7c Mon Sep 17 00:00:00 2001 From: Francesco Biscani Date: Sat, 3 Aug 2024 17:06:41 +0200 Subject: [PATCH] Coverage fix. --- test/llvm_multi_state.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/llvm_multi_state.cpp b/test/llvm_multi_state.cpp index 82613b682..5d2ea026c 100644 --- a/test/llvm_multi_state.cpp +++ b/test/llvm_multi_state.cpp @@ -145,6 +145,9 @@ TEST_CASE("copy semantics") auto *cf2_ptr = reinterpret_cast( ms_copy.jit_lookup("f2")); + REQUIRE_THROWS_MATCHES(ms_copy.jit_lookup("f3"), std::invalid_argument, + Message("Could not find the symbol 'f3' in an llvm_multi_state")); + const double ins[] = {2., 3.}; double outs[2] = {};