view test/Linker/2003-04-23-LinkOnceLost.ll @ 129:9ec641e857f8

Fix compile error to update llvm 5.0
author mir3636
date Tue, 12 Dec 2017 19:42:58 +0900
parents 7d135dc70f03
children
line wrap: on
line source

; RUN: echo " define linkonce void @foo() { ret void } " > %t.ll
; RUN: llvm-link %s %t.ll -S | FileCheck %s
; CHECK: linkonce{{.*}}foo

declare void @foo()

define void @use_foo() {
  call void @foo()
  ret void
}