1# REQUIRES: x86-registered-target
2# RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %t.obj
3# RUN: llvm-objdump -h %t.obj | FileCheck %s
4# RUN: obj2yaml %t.obj | yaml2obj -o %t.2.obj
5# RUN: llvm-objdump -h %t.2.obj | FileCheck %s
6
7# CHECK: Idx Name          Size     VMA          Type
8# CHECK:     .bss          00000004 0000000000000000 BSS
9
10# Before PR41836, Size would be 0 after yaml conversion.
11
12.bss
13.global gv_bss
14gv_bss:
15.long 0
16