llvm.org GIT mirror llvm / stable test / Linker / unnamed-addr-err-a.ll
stable

Tree @stable (Download .tar.gz)

unnamed-addr-err-a.ll @stableraw · history · blame

1
2
3
4
; 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