summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll
blob: 73544a7f709aa668c1e55e1128811e9ac4dd9454 (plain)
1
2
3
4
5
6
7
8
9
define weak i32 @baz() #0 {
entry:
  ret i32 0
}

define i8* @bar() {
entry:
  ret i8* bitcast (i32 ()* @baz to i8*)
}
OpenPOWER on IntegriCloud