[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ELF / pr9292.s
blobf2f91fae23c7bd2bad9309bdcd9eeb69f7f566e6
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
3 // Test that both foo and bar are undefined.
5 .globl foo
6 .globl bar
7 mov %eax,bar
10 // CHECK: Symbol {
11 // CHECK: Name: bar
12 // CHECK-NEXT: Value: 0x0
13 // CHECK-NEXT: Size: 0
14 // CHECK-NEXT: Binding: Global
15 // CHECK-NEXT: Type: None
16 // CHECK-NEXT: Other: 0
17 // CHECK-NEXT: Section: Undefined (0x0)
18 // CHECK-NEXT: }
19 // CHECK-NEXT: Symbol {
20 // CHECK-NEXT: Name: foo
21 // CHECK-NEXT: Value: 0x0
22 // CHECK-NEXT: Size: 0
23 // CHECK-NEXT: Binding: Global
24 // CHECK-NEXT: Type: None
25 // CHECK-NEXT: Other: 0
26 // CHECK-NEXT: Section: Undefined (0x0)
27 // CHECK-NEXT: }