llvm-for-llvmta/test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll

10 lines
119 B
LLVM

define weak i32 @baz() #0 {
entry:
ret i32 0
}
define i8* @bar() {
entry:
ret i8* bitcast (i32 ()* @baz to i8*)
}