aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/alias.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ELF/alias.s')
-rw-r--r--test/MC/ELF/alias.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/ELF/alias.s b/test/MC/ELF/alias.s
index 78df737..0ab6dd4 100644
--- a/test/MC/ELF/alias.s
+++ b/test/MC/ELF/alias.s
@@ -24,6 +24,15 @@ bar5 = bar4
bar6 = bar5
bar6:
+// Test that indirect local aliases do not appear as symbols.
+.data
+.Llocal:
+
+.text
+leaq .Llocal1(%rip), %rdi
+.Llocal1 = .Llocal2
+.Llocal2 = .Llocal
+
// CHECK: Symbols [
// CHECK-NEXT: Symbol {
// CHECK-NEXT: Name: (0)