From: Rafael Espindola Date: Wed, 19 Mar 2014 00:26:58 +0000 (+0000) Subject: Make the test harder by using a non-zero offset. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=94ec09ae32e03ca0cfcaf8df5a8efa17bd3cbe8c;p=oota-llvm.git Make the test harder by using a non-zero offset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204205 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/ELF/alias.s b/test/MC/ELF/alias.s index d529ab18902..c532f7c02ca 100644 --- a/test/MC/ELF/alias.s +++ b/test/MC/ELF/alias.s @@ -10,12 +10,12 @@ foo3: .globl bar3 bar3 = foo3 -// Test that bar4 is also a function - .type foo4,@function + +// Test that bar4 and bar 5 are also functions and have the same value as foo4. + .byte 0 + .type foo4,@function foo4: bar4 = foo4 - -// Test that bar5 is also a function bar5 = bar4 .long foo2 @@ -41,7 +41,7 @@ bar5 = bar4 // CHECK-NEXT: } // CHECK-NEXT: Symbol { // CHECK-NEXT: Name: bar4 -// CHECK-NEXT: Value: 0x0 +// CHECK-NEXT: Value: 0x1 // CHECK-NEXT: Size: 0 // CHECK-NEXT: Binding: Local // CHECK-NEXT: Type: Function @@ -50,7 +50,7 @@ bar5 = bar4 // CHECK-NEXT: } // CHECK-NEXT: Symbol { // CHECK-NEXT: Name: bar5 -// CHECK-NEXT: Value: 0x0 +// CHECK-NEXT: Value: 0x1 // CHECK-NEXT: Size: 0 // CHECK-NEXT: Binding: Local // CHECK-NEXT: Type: Function @@ -77,7 +77,7 @@ bar5 = bar4 // CHECK-NEXT: } // CHECK-NEXT: Symbol { // CHECK-NEXT: Name: foo4 -// CHECK-NEXT: Value: 0x0 +// CHECK-NEXT: Value: 0x1 // CHECK-NEXT: Size: 0 // CHECK-NEXT: Binding: Local // CHECK-NEXT: Type: Function