summaryrefslogtreecommitdiffstats
path: root/test/MC/COFF/comm.s
blob: 21ae5d25ddaed8a24cd7edb1d1647b3ebdc320c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -t | FileCheck %s

.lcomm _a,4,4
.comm	_b, 4, 2


// CHECK:       Symbol {
// CHECK:         Name: _a
// CHECK-NEXT:    Value:
// CHECK-NEXT:    Section: .bss
// CHECK-NEXT:    BaseType: Null
// CHECK-NEXT:    ComplexType: Null
// CHECK-NEXT:    StorageClass: Static
// CHECK-NEXT:    AuxSymbolCount: 0
// CHECK-NEXT:  }

// CHECK:       Symbol {
// CHECK:         Name: _b
// CHECK-NEXT:    Value: 4
// CHECK-NEXT:    Section: .bss
// CHECK-NEXT:    BaseType: Null
// CHECK-NEXT:    ComplexType: Null
// CHECK-NEXT:    StorageClass: External
// CHECK-NEXT:    AuxSymbolCount: 0
// CHECK-NEXT:  }