MCAsmParser: better handling for named arguments
[oota-llvm.git] / test / MC / AsmParser / directive_lcomm.s
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
12 TEST0:  
13         .lcomm a, 8-1, 4
14         .lcomm b,8
15         .lcomm  c,  0