1 ; RUN: opt < %s -mergefunc -S > %t
2 ; RUN: grep {define weak} %t | count 2
3 ; RUN: grep {call} %t | count 2
6 ; This test is off for a bit as we change this particular sort of folding to
7 ; only apply on ELF systems and not Mach-O systems.
9 define weak i32 @sum(i32 %x, i32 %y) {
14 define weak i32 @add(i32 %x, i32 %y) {