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
162 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
164 .llvm_internal_mips_reallow_module_directive
166 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
170 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
172 .llvm_internal_mips_reallow_module_directive
174 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
178 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
180 .llvm_internal_mips_reallow_module_directive
182 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
186 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
188 .llvm_internal_mips_reallow_module_directive
190 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
194 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
196 .llvm_internal_mips_reallow_module_directive
198 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
202 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
204 .llvm_internal_mips_reallow_module_directive
206 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
210 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
212 .llvm_internal_mips_reallow_module_directive
214 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
218 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
220 .llvm_internal_mips_reallow_module_directive
222 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
226 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
228 .llvm_internal_mips_reallow_module_directive
230 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
234 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
236 .llvm_internal_mips_reallow_module_directive
238 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
242 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
244 .llvm_internal_mips_reallow_module_directive
246 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
250 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
252 .llvm_internal_mips_reallow_module_directive
254 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
258 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code
260 .llvm_internal_mips_reallow_module_directive
262 # CHECK-NOT: :[[@LINE-1]]:13: error: .module directive must appear before any code
264 .cpsetup $25, 8, __cerror
266 # CHECK: :[[@LINE-1]]:13: error: .module directive must appear before any code