Mercurial > hg > CbC > CbC_llvm
view test/Linker/redefinition.ll @ 146:3fc4d5c3e21e
set tail call flag for code segment in CGCAll
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 19:23:36 +0900 |
parents | 60c9769439b8 |
children | c2174574ed3a |
line wrap: on
line source
; Test linking two functions with different prototypes and two globals ; in different modules. ; RUN: not llvm-link %s %s -o %t.bc 2>&1 | FileCheck %s ; RUN: not llvm-link %s %S/Inputs/redefinition.ll -o %t.bc 2>&1 | FileCheck %s ; CHECK: ERROR: Linking globals named 'foo': symbol multiply defined! define void @foo() { ret void }