diff options
Diffstat (limited to 'test/Feature/aliases.ll')
-rw-r--r-- | test/Feature/aliases.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/Feature/aliases.ll b/test/Feature/aliases.ll index b3b9ceba527b..a8c95e9fd0c3 100644 --- a/test/Feature/aliases.ll +++ b/test/Feature/aliases.ll @@ -5,28 +5,28 @@ @llvm.used = appending global [1 x i8*] [i8* bitcast (i32* @foo1 to i8*)], section "llvm.metadata" @bar = global i32 0 -@foo1 = alias i32* @bar -@foo2 = alias i32* @bar -@foo3 = alias i32* @foo2 -@foo4 = unnamed_addr alias i32* @foo2 +@foo1 = alias i32, i32* @bar +@foo2 = alias i32, i32* @bar +@foo3 = alias i32, i32* @foo2 +@foo4 = unnamed_addr alias i32, i32* @foo2 ; Make sure the verifier does not complain about references to a global ; declaration from an initializer. @decl = external global i32 @ptr = global i32* @decl -@ptr_a = alias i32** @ptr +@ptr_a = alias i32*, i32** @ptr %FunTy = type i32() define i32 @foo_f() { ret i32 0 } -@bar_f = weak_odr alias %FunTy* @foo_f -@bar_ff = alias i32()* @bar_f +@bar_f = weak_odr alias %FunTy, %FunTy* @foo_f +@bar_ff = alias i32(), i32()* @bar_f -@bar_i = internal alias i32* @bar +@bar_i = internal alias i32, i32* @bar -@A = alias bitcast (i32* @bar to i64*) +@A = alias i64, bitcast (i32* @bar to i64*) define i32 @test() { entry: |