mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
6d66c4d69b
llvm-svn: 220968
7 lines
332 B
LLVM
7 lines
332 B
LLVM
; 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 }
|