mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
07c3753e14
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220968 91177308-0d34-0410-b5e6-96231b3b80d8
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 }
|