aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/alias-use-list-order.ll
blob: d29fd6e435fe9677f0c6aff1b2d8dcb83bcd6dca (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: verify-uselistorder < %s

; Globals.
@global = global i32 0
@alias.ref1 = global i32* getelementptr inbounds (i32* @alias, i64 1)
@alias.ref2 = global i32* getelementptr inbounds (i32* @alias, i64 1)

; Aliases.
@alias = alias i32* @global
@alias.ref3 = alias i32* getelementptr inbounds (i32* @alias, i64 1)
@alias.ref4 = alias i32* getelementptr inbounds (i32* @alias, i64 1)