blob: 7d9ad2d9d6ffbe233ca55567c64422cc8ef01667 (
plain)
1
2
3
4
5
6
7
|
; RUN: not llvm-link %s %S/Inputs/cycle.ll 2>&1 | FileCheck %s
; RUN: not llvm-link %S/Inputs/cycle.ll %s 2>&1 | FileCheck %s
; CHECK: Linking these modules creates an alias cycle
@foo = weak global i32 0
@bar = alias i32* @foo
|