llvm-for-llvmta/test/Linker/unnamed-addr-err-a.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

5 lines
209 B
LLVM

; RUN: not llvm-link %s %p/unnamed-addr-err-b.ll -S -o - 2>&1 | FileCheck %s
@foo = appending unnamed_addr global [1 x i32] [i32 42]
; CHECK: Appending variables with different unnamed_addr need to be linked