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

10 lines
119 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
define weak i32 @baz() #0 {
entry:
ret i32 0
}
define i8* @bar() {
entry:
ret i8* bitcast (i32 ()* @baz to i8*)
}