[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AsmParser / directive_dc.s
blob5c6c9aa95293667a0f6bb38cf1326fd31efbf6a6
1 # RUN: not llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2 # RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 > /dev/null| FileCheck %s --check-prefix=CHECK-ERROR
4 # CHECK: TEST0:
5 # CHECK: .byte 0
6 TEST0:
7 .dc.b 0
9 # CHECK: TEST1:
10 # CHECK: .short 3
11 TEST1:
12 .dc 3
14 # CHECK: TEST2:
15 # CHECK: .short 3
16 TEST2:
17 .dc.w 3
19 # CHECK: TEST3:
20 # CHECK: .long 8
21 TEST3:
22 .dc.l 8
24 # CHECK: TEST4:
25 # CHECK: .long 8
26 TEST4:
27 .dc.a 8
29 # CHECK: TEST5
30 # CHECK: .long 1067412619
31 TEST5:
32 .dc.s 1.2455
34 # CHECK: TEST6
35 # CHECK: .quad 4597526701198935065
36 TEST6:
37 .dc.d .232
39 # CHECK-ERROR: error: .dc.x not currently supported for this target
40 TEST7:
41 .dc.x 1.2e3