• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3
4# CHECK: TEST0:
5# CHECK: .byte 0
6TEST0:
7        .dc.b 0
8
9# CHECK: TEST1:
10# CHECK: .short 3
11TEST1:
12        .dc 3
13
14# CHECK: TEST2:
15# CHECK: .short 3
16TEST2:
17        .dc.w 3
18
19# CHECK: TEST3:
20# CHECK: .long 8
21TEST3:
22        .dc.l 8
23
24# CHECK: TEST4:
25# CHECK: .long 8
26TEST4:
27        .dc.a 8
28
29# CHECK: TEST5
30# CHECK: .long	1067412619
31TEST5:
32        .dc.s 1.2455
33
34# CHECK: TEST6
35# CHECK: .quad	4597526701198935065
36TEST6:
37        .dc.d .232
38
39# CHECK-ERROR: error: .dc.x not currently supported for this target
40TEST7:
41        .dc.x 1.2e3
42