1 # RUN: not llvm-mc -triple mips-unknown-unknown %s 2>%t1
2 # RUN: FileCheck %s < %t1
6 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
8 .llvm_internal_mips_reallow_module_directive
10 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
14 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
16 .llvm_internal_mips_reallow_module_directive
18 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
22 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
24 .llvm_internal_mips_reallow_module_directive
26 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
30 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
32 .llvm_internal_mips_reallow_module_directive
34 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
38 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
40 .llvm_internal_mips_reallow_module_directive
42 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
46 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
48 .llvm_internal_mips_reallow_module_directive
50 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
54 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
56 .llvm_internal_mips_reallow_module_directive
58 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
62 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
64 .llvm_internal_mips_reallow_module_directive
66 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
70 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
72 .llvm_internal_mips_reallow_module_directive
74 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
78 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
80 .llvm_internal_mips_reallow_module_directive
82 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
86 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
88 .llvm_internal_mips_reallow_module_directive
90 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
94 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
96 .llvm_internal_mips_reallow_module_directive
98 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
102 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
104 .llvm_internal_mips_reallow_module_directive
106 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
110 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
112 .llvm_internal_mips_reallow_module_directive
114 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
118 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
120 .llvm_internal_mips_reallow_module_directive
122 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
126 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
128 .llvm_internal_mips_reallow_module_directive
130 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
134 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
136 .llvm_internal_mips_reallow_module_directive
138 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
142 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
144 .llvm_internal_mips_reallow_module_directive
146 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
150 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
152 .llvm_internal_mips_reallow_module_directive
154 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
158 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
160 .llvm_internal_mips_reallow_module_directive
162 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
166 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
168 .llvm_internal_mips_reallow_module_directive
170 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
174 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
176 .llvm_internal_mips_reallow_module_directive
178 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
182 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
184 .llvm_internal_mips_reallow_module_directive
186 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
190 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
192 .llvm_internal_mips_reallow_module_directive
194 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
198 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
200 .llvm_internal_mips_reallow_module_directive
202 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
206 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
208 .llvm_internal_mips_reallow_module_directive
210 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
214 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
216 .llvm_internal_mips_reallow_module_directive
218 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
222 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
224 .llvm_internal_mips_reallow_module_directive
226 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
230 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
232 .llvm_internal_mips_reallow_module_directive
234 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
238 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
240 .llvm_internal_mips_reallow_module_directive
242 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
246 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
248 .llvm_internal_mips_reallow_module_directive
250 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
254 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
256 .llvm_internal_mips_reallow_module_directive
258 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
260 .cpsetup $25, 8, __cerror
262 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code