1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that this produces a weak undefined symbol.
8 // And that bar is after all local symbols
13 //CHECK-NEXT: (('st_name', 5) # 'bar'
14 //CHECK-NEXT: ('st_bind', 2)
15 //CHECK-NEXT: ('st_type', 0)
16 //CHECK-NEXT: ('st_other', 0)
17 //CHECK-NEXT: ('st_shndx', 1)
18 //CHECK-NEXT: ('st_value', 0)
19 //CHECK-NEXT: ('st_size', 0)
21 //CHECK-NEXT: # Symbol 5
22 //CHECK: (('st_name', 1) # 'foo'
23 //CHECK-NEXT: ('st_bind', 2)
24 //CHECK-NEXT: ('st_type', 0)
25 //CHECK-NEXT: ('st_other', 0)
26 //CHECK-NEXT: ('st_shndx', 0)
27 //CHECK-NEXT: ('st_value', 0)
28 //CHECK-NEXT: ('st_size', 0)