brintos

brintos / llvm-project-archived public Read only

0
0
Text · 270 B · 4ebbfdf Raw
19 lines · plain
1; RUN: lli -extra-module %p/Inputs/weak-comdat-def.ll %s2; UNSUPPORTED: system-darwin3 4declare i32 @g()5 6$f = comdat nodeduplicate7 8define weak i32 @f() comdat {9entry:10  %0 = call i32 @g()11  ret i32 %012}13 14define i32 @main() {15entry:16  %0 = call i32 @f()17  ret i32 %018}19