Silence -Wunused-variable in release builds.
[llvm/stm8.git] / test / MC / ELF / pr9292.s
bloba198fed87949d75c660148d56f8c90b181974d34
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // Test that both foo and bar are undefined.
5 .globl foo
6 .globl bar
7 mov %eax,bar
10 // CHECK: (('st_name', 0x00000005) # 'bar'
11 // CHECK-NEXT: ('st_bind', 0x00000001)
12 // CHECK-NEXT: ('st_type', 0x00000000)
13 // CHECK-NEXT: ('st_other', 0x00000000)
14 // CHECK-NEXT: ('st_shndx', 0x00000000)
15 // CHECK-NEXT: ('st_value', 0x0000000000000000)
16 // CHECK-NEXT: ('st_size', 0x0000000000000000)
17 // CHECK-NEXT: ),
18 // CHECK-NEXT: # Symbol 0x00000005
19 // CHECK-NEXT: (('st_name', 0x00000001) # 'foo'
20 // CHECK-NEXT: ('st_bind', 0x00000001)
21 // CHECK-NEXT: ('st_type', 0x00000000)
22 // CHECK-NEXT: ('st_other', 0x00000000)
23 // CHECK-NEXT: ('st_shndx', 0x00000000)
24 // CHECK-NEXT: ('st_value', 0x0000000000000000)
25 // CHECK-NEXT: ('st_size', 0x0000000000000000)
26 // CHECK-NEXT: ),