xref: /llvm-project/llvm/test/MC/AsmParser/directive_lcomm.s (revision 47f9ec92cbd99a0fc9c21570a9f4f877e79eb9af)
1# RUN: llvm-mc -triple i386-apple-darwin10 %s | FileCheck %s
2# RUN: llvm-mc -triple i386-pc-mingw32 %s | FileCheck %s
3# RUN: not llvm-mc -triple i386-linux-gnu %s 2>&1 | FileCheck %s -check-prefix=ERROR
4
5# CHECK: TEST0:
6# CHECK: .lcomm a,7,4
7# CHECK: .lcomm b,8
8# CHECK: .lcomm c,0
9
10# ELF doesn't like alignment on .lcomm.
11# ERROR: alignment not supported on this target
12TEST0:
13        .lcomm a, 8-1, 4
14        .lcomm b,8
15        .lcomm  c,  0
16