Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

15 lines
277 B
LLVM

; 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
}