1 # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
2 # RUN: FileCheck < %t %s
4 #CHECK: error: invalid instruction
6 #CHECK: error: unknown token in expression
8 #CHECK: error: invalid instruction
9 #CHECK: foo 100(200), 300
10 #CHECK: error: register expected
11 #CHECK: foo 100(200,), 300
12 #CHECK: error: invalid instruction
13 #CHECK: foo 100(200,%r1), 300
14 #CHECK: error: invalid address register
15 #CHECK: foo 100(%a0), 200
16 #CHECK: error: invalid instruction
17 #CHECK: foo 100(%r0), 200
18 #CHECK: error: invalid instruction
19 #CHECK: foo 100(%v0,%r1), 200
20 #CHECK: error: invalid instruction
21 #CHECK: foo 100(%v31), 200
22 #CHECK: error: invalid address register
23 #CHECK: foo 100(%r1,%a0), 200
24 #CHECK: error: unexpected token in address
25 #CHECK: foo 100(%r1,%r2, 200
26 #CHECK: error: invalid instruction
27 #CHECK: foo 100(%r1,%r2), 200
28 #CHECK: error: unexpected token in argument list
29 #CHECK: foo 100(%r1,%r2)(, 200
30 #CHECK: error: invalid instruction
32 #CHECK: error: invalid instruction
34 #CHECK: error: invalid register
36 #CHECK: error: invalid instruction
38 #CHECK: error: invalid instruction
40 #CHECK: error: invalid register
42 #CHECK: error: invalid instruction
44 #CHECK: error: invalid instruction
46 #CHECK: error: invalid register
48 #CHECK: error: invalid instruction
50 #CHECK: error: invalid instruction
52 #CHECK: error: invalid register
54 #CHECK: error: invalid register
56 #CHECK: error: invalid register
58 #CHECK: error: unknown token in expression
60 #CHECK: error: invalid instruction
61 #CHECK: foo 100(15), 300
62 #CHECK: error: register expected
63 #CHECK: foo 100(15,), 300
64 #CHECK: error: invalid instruction
65 #CHECK: foo 100(15,%r1), 300
66 #CHECK: error: invalid instruction
67 #CHECK: foo 100(%v20,10), 300
81 foo
100(%r1,%r2)(, 200
100 foo
100(%v20
,10), 300