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: %r0 used in an address
13 #CHECK: foo 100(200,%r0), 300
14 #CHECK: error: invalid instruction
15 #CHECK: foo 100(200,%r1), 300
16 #CHECK: error: invalid address register
17 #CHECK: foo 100(%a0), 200
18 #CHECK: error: invalid instruction
19 #CHECK: foo 100(%r0), 200
20 #CHECK: error: %r0 used in an address
21 #CHECK: foo 100(%v1,%r0), 200
22 #CHECK: error: invalid instruction
23 #CHECK: foo 100(%v0,%r1), 200
24 #CHECK: error: invalid instruction
25 #CHECK: foo 100(%v31), 200
26 #CHECK: error: invalid address register
27 #CHECK: foo 100(%r1,%a0), 200
28 #CHECK: error: %r0 used in an address
29 #CHECK: foo 100(%r1,%r0), 200
30 #CHECK: error: unexpected token in address
31 #CHECK: foo 100(%r1,%r2, 200
32 #CHECK: error: invalid instruction
33 #CHECK: foo 100(%r1,%r2), 200
34 #CHECK: error: unexpected token in argument list
35 #CHECK: foo 100(%r1,%r2)(, 200
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 instruction
56 #CHECK: error: invalid instruction
58 #CHECK: error: invalid register
60 #CHECK: error: invalid register
62 #CHECK: error: invalid register
64 #CHECK: error: unknown token in expression
82 foo
100(%r1,%r2)(, 200