You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
332 B

; 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 }