1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S - | FileCheck %s
2
3// Test local common construction.
4// Unlike gas, common symbols are created when found, not at the end of .bss.
5// In this example it causes .bss to have size 8 instead of 9.
6
7	.local	vimvardict
8	.comm	vimvardict,1,8
9	.bss
10        .zero 1
11	.align	8
12
13// CHECK:        Section {
14// CHECK:          Name: .bss
15// CHECK-NEXT:     Type:
16// CHECK-NEXT:     Flags [
17// CHECK:          ]
18// CHECK-NEXT:     Address:
19// CHECK-NEXT:     Offset:
20// CHECK-NEXT:     Size: 8
21// CHECK-NEXT:     Link:
22// CHECK-NEXT:     Info:
23// CHECK-NEXT:     AddressAlignment:
24// CHECK-NEXT:     EntrySize:
25// CHECK-NEXT:   }
26