1 # RUN: not llvm-mc -triple i386-unknown-unknown %s 2> /dev/null | FileCheck %s
2 # RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 > /dev/null| FileCheck %s --check-prefix=CHECK-ERROR
4 # CHECK: .long 1067412619
5 # CHECK: .long 1075000115
6 # CHECK: .long 1077936128
7 # CHECK: .long 1082549862
8 .single 1.2455, +2.3, 3, + 4.2
10 # CHECK: .long 2139095040
13 # CHECK: .quad 9218868437227405312
16 # CHECK: .long 4286578688
19 # CHECK: .quad -4503599627370496
22 # CHECK: .long 2147483647
25 # CHECK: .quad 9223372036854775807
28 # CHECK: .long 1067928519
31 # CHECK: .quad 4617315517961601024
32 # CHECK: .quad 4597526701198935065
33 # CHECK: .quad -4600933674317040845
34 .double 5, .232, -11.1
39 # CHECK: .quad -4570379565595099136
41 # CHECK: .quad -4690170861623122860
43 # CHECK: .quad -4465782973978902528
45 # CHECK: .quad 4681608360884174848
47 # CHECK: .quad 4681608360884174848
49 # CHECK: .quad 4611686018427387904
51 # CHECK: .quad 4611686018427387904
53 # CHECK: .quad 4611686018427387904
55 # CHECK: .quad 4611686018427387904
57 # CHECK: .quad -4615288898129284301
59 # CHECK: .quad 4621819117588971520
61 # CHECK: .quad 4591870180066957722
65 # CHECK: .quad -4570379565595099136
67 # CHECK: .quad -4690170861623122860
69 # CHECK: .quad -4465782973978902528
71 # CHECK: .quad 4681608360884174848
73 # CHECK: .quad 4681608360884174848
75 # CHECK: .quad 4611686018427387904
77 # CHECK: .quad 4611686018427387904
79 # CHECK: .quad 4611686018427387904
81 # CHECK: .quad -4615288898129284301
83 # CHECK: .quad 4621819117588971520
85 # CHECK: .quad 4591870180066957722
89 #CHECK-ERROR: unexpected token in '.double' directive
91 # CHECK-ERROR: Invalid sign in float literal
94 # CHECK: .long 1310177520
96 # CHECK: .long 1084227584
98 # CHECK: .quad 4602678819172646912
100 # CHECK: .long 1094713344
102 # CHECK: .long 872284160
104 # CHECK: .long 3212836864
107 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
110 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
113 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one exponent digit
116 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
119 # CHECK-ERROR: invalid hexadecimal floating-point constant: expected at least one significand digit
122 # CHECK-ERROR: error: invalid hexadecimal floating-point constant: expected exponent part 'p'