diff --git a/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c b/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c index 11d4f36fd19..0fcf453db5f 100644 --- a/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c +++ b/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c @@ -138,5 +138,6 @@ jit_cleanup: llvm_shutdown: // Shut down LLVM. LLVMShutdown(); - return 0; + + return MainResult; }