bolt/deps/llvm-18.1.8/llvm/test/ExecutionEngine/OrcLazy/bad-object-file.ll
2025-02-14 19:21:04 +01:00

9 lines
271 B
LLVM

; RUN: not lli -jit-kind=orc-lazy -extra-object %p/Inputs/empty-object-file.o %s 2>&1 | FileCheck %s
;
; Test that bad object files yield an error.
; CHECK: The file was not recognized as a valid object file
define i32 @main(i32 %argc, ptr %argv) {
entry:
ret i32 0
}