Mercurial > hg > CbC > CbC_llvm
view test/Linker/basiclink.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; Test linking two functions with different prototypes and two globals ; in different modules. This is for PR411 ; RUN: llvm-as %S/Inputs/basiclink.a.ll -o %t.foo.bc ; RUN: llvm-as %S/Inputs/basiclink.b.ll -o %t.bar.bc ; RUN: llvm-link %t.foo.bc %t.bar.bc -o %t.bc ; RUN: llvm-link %t.bar.bc %t.foo.bc -o %t.bc