diff options
Diffstat (limited to 'test/MC/ELF/alias.s')
-rw-r--r-- | test/MC/ELF/alias.s | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/ELF/alias.s b/test/MC/ELF/alias.s index 2e65ace..8e13182 100644 --- a/test/MC/ELF/alias.s +++ b/test/MC/ELF/alias.s @@ -20,6 +20,10 @@ bar5 = bar4 .long foo2 +// Test that bar6 is a function that doesn't have the same value as foo4. +bar6 = bar5 +bar6: + // CHECK: Symbols [ // CHECK-NEXT: Symbol { // CHECK-NEXT: Name: (0) @@ -58,6 +62,15 @@ bar5 = bar4 // CHECK-NEXT: Section: .text // CHECK-NEXT: } // CHECK-NEXT: Symbol { +// CHECK-NEXT: Name: bar6 +// CHECK-NEXT: Value: 0x5 +// CHECK-NEXT: Size: 0 +// CHECK-NEXT: Binding: Local +// CHECK-NEXT: Type: None +// CHECK-NEXT: Other: 0 +// CHECK-NEXT: Section: .text +// CHECK-NEXT: } +// CHECK-NEXT: Symbol { // CHECK-NEXT: Name: foo // CHECK-NEXT: Value: 0x0 // CHECK-NEXT: Size: 0 |