gn build: Merge r374476
[llvm-complete.git] / test / MC / COFF / bss.s
blobd707703a4c42c72c6c6ca9de0abe5d0d1d9d2698
1 // The purpose of this test is to verify that bss sections are emitted correctly.
3 // RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -S | FileCheck %s
4 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -S | FileCheck %s
6 .bss
7 .globl _g0
8 .align 4
9 _g0:
10 .long 0
12 // CHECK: Name: .bss
13 // CHECK-NEXT: VirtualSize: 0
14 // CHECK-NEXT: VirtualAddress: 0
15 // CHECK-NEXT: RawDataSize: 4