1 # RUN: not llvm-mc < %s -filetype=obj --triple=x86_64-windows -o /dev/null 2>&1 | FileCheck %s
3 .cv_def_range .Ltmp1 .Ltmp2
4 # CHECK: error: expected comma before def_range type in .cv_def_range directive
5 # CHECK: error: expected def_range type in directive
7 .cv_def_range .Ltmp1 .Ltmp2,
8 # CHECK: error: expected def_range type in directive
10 .cv_def_range .Ltmp1 .Ltmp2, subfield_reg
11 # CHECK: error: expected comma before register number in .cv_def_range directive
12 # CHECK: error: expected register number
14 .cv_def_range .Ltmp1 .Ltmp2, subfield_reg,
15 # CHECK: error: unknown token in expression
16 # CHECK: error: expected register number
18 .cv_def_range .Ltmp1 .Ltmp2, subfield_reg, 25
19 # CHECK: error: expected comma before offset in .cv_def_range directive
20 # CHECK: error: expected offset value
22 .cv_def_range .Ltmp1 .Ltmp2, subfield_reg, 25,
23 # CHECK: error: unknown token in expression
24 # CHECK: error: expected offset value
29 .cv_def_range .Ltmp1 .Ltmp2
30 # CHECK: error: expected comma before def_range type in .cv_def_range directive
31 # CHECK: error: expected def_range type in directive
33 .cv_def_range .Ltmp1 .Ltmp2,
34 # CHECK: error: expected def_range type in directive
36 .cv_def_range .Ltmp1 .Ltmp2, reg
37 # CHECK: error: expected comma before register number in .cv_def_range directive
38 # CHECK: error: expected register number
40 .cv_def_range .Ltmp1 .Ltmp2, reg,
41 # CHECK: error: unknown token in expression
42 # CHECK: error: expected register number
47 .cv_def_range .Ltmp1 .Ltmp2
48 # CHECK: error: expected comma before def_range type in .cv_def_range directive
49 # CHECK: error: expected def_range type in directive
51 .cv_def_range .Ltmp1 .Ltmp2,
52 # CHECK: error: expected def_range type in directive
54 .cv_def_range .Ltmp1 .Ltmp2, frame_ptr_rel
55 # CHECK: error: expected comma before offset in .cv_def_range directive
56 # CHECK: error: expected offset value
58 .cv_def_range .Ltmp1 .Ltmp2, frame_ptr_rel,
59 # CHECK: error: unknown token in expression
60 # CHECK: error: expected offset value
66 .cv_def_range .Ltmp1 .Ltmp2
67 # CHECK: error: expected comma before def_range type in .cv_def_range directive
68 # CHECK: error: expected def_range type in directive
70 .cv_def_range .Ltmp1 .Ltmp2,
71 # CHECK: error: expected def_range type in directive
73 .cv_def_range .Ltmp1 .Ltmp2, reg_rel
74 # CHECK: error: expected comma before register number in .cv_def_range directive
75 # CHECK: error: expected register value
77 .cv_def_range .Ltmp1 .Ltmp2, reg_rel,
78 # CHECK: error: unknown token in expression
79 # CHECK: error: expected register value
81 .cv_def_range .Ltmp1 .Ltmp2, reg_rel, 330
82 # CHECK: error: expected comma before flag value in .cv_def_range directive
83 # CHECK: error: expected flag value
85 .cv_def_range .Ltmp1 .Ltmp2, reg_rel, 330,
86 # CHECK: error: unknown token in expression
87 # CHECK: error: expected flag value
89 .cv_def_range .Ltmp1 .Ltmp2, reg_rel, 330, 0
90 # CHECK: error: expected comma before base pointer offset in .cv_def_range directive
91 # CHECK: error: expected base pointer offset value
93 .cv_def_range .Ltmp1 .Ltmp2, reg_rel, 330, 0,
94 # CHECK: error: unknown token in expression
95 # CHECK: error: expected base pointer offset value