1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s 2 3// Test that zed will be an ABS symbol 4 5.Lfoo: 6.Lbar: 7 zed = .Lfoo - .Lbar 8 9// CHECK: # Symbol 1 10// CHECK-NEXT: (('st_name', 0x00000001) # 'zed' 11// CHECK-NEXT: ('st_bind', 0x0) 12// CHECK-NEXT: ('st_type', 0x0) 13// CHECK-NEXT: ('st_other', 0x00) 14// CHECK-NEXT: ('st_shndx', 0xfff1) 15// CHECK-NEXT: ('st_value', 0x0000000000000000) 16// CHECK-NEXT: ('st_size', 0x0000000000000000) 17