[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AsmParser / directive_lcomm.s
blob37a350c82e81f10169b2dfe6f76b1e6f82d0d61a
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
5 # CHECK: TEST0:
6 # CHECK: .lcomm a,7,4
7 # CHECK: .lcomm b,8
8 # CHECK: .lcomm c,0
10 # ELF doesn't like alignment on .lcomm.
11 # ERROR: alignment not supported on this target
12 TEST0:
13 .lcomm a, 8-1, 4
14 .lcomm b,8
15 .lcomm c, 0