summaryrefslogtreecommitdiff
path: root/test/Verifier/aliasing-chain.ll
blob: ae0b77fdc395eecd72eea4fc2948efa4fdb5d33c (plain)
1
2
3
4
5
6
; RUN:  not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
; CHECK: Aliasing chain should end with function or global variable
; Test that alising chain does not create a cycle

@b1 = alias i32* @c1
@c1 = alias i32* @b1