blob: 256f68647612d0737d44b2b684a4a30f8df16861 [file] [log] [blame]
; RUN: opt -S -mergefunc < %s | FileCheck %s
; CHECK-NOT: @b
@x = constant { void ()*, void ()* } { void ()* @a, void ()* @b }
; CHECK: { void ()* @a, void ()* @a }
define internal void @a() unnamed_addr {
ret void
}
define internal void @b() unnamed_addr {
ret void
}