Mercurial > hg > CbC > CbC_llvm
view test/Linker/2003-04-23-LinkOnceLost.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +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 }