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

define weak i32 @baz() #0 {
entry:
  ret i32 0
}

define ptr @bar() {
entry:
  ret ptr @baz
}