2010-01-19 14:21:23 +08:00
|
|
|
# RUN: llvm-mc -triple i386-apple-darwin10 %s | FileCheck %s
|
2012-09-08 01:25:13 +08:00
|
|
|
# RUN: llvm-mc -triple i386-pc-mingw32 %s | FileCheck %s
|
|
|
|
# RUN: not llvm-mc -triple i386-linux-gnu %s 2>&1 | FileCheck %s -check-prefix=ERROR
|
2009-07-10 01:25:12 +08:00
|
|
|
|
|
|
|
# CHECK: TEST0:
|
2012-09-08 01:25:13 +08:00
|
|
|
# CHECK: .lcomm a,7,4
|
|
|
|
# CHECK: .lcomm b,8
|
|
|
|
# CHECK: .lcomm c,0
|
|
|
|
|
|
|
|
# ELF doesn't like alignment on .lcomm.
|
|
|
|
# ERROR: alignment not supported on this target
|
2009-07-10 01:25:12 +08:00
|
|
|
TEST0:
|
|
|
|
.lcomm a, 8-1, 4
|
|
|
|
.lcomm b,8
|
|
|
|
.lcomm c, 0
|