1# RUN: not llvm-mc -triple s390x-unknown-unknown -filetype=obj %s 2>&1 | FileCheck %s 2 3 .text 4 5# CHECK: error: operand out of range (4096 not between 0 and 4095) 6# CHECK-NEXT: la %r1, b-a(%r1) 7# CHECK-NEXT: ^ 8 la %r1, b-a(%r1) 9 10# CHECK-NEXT: error: operand out of range (524288 not between -524288 and 524287) 11# CHECK-NEXT: lay %r1, d-c(%r1) 12# CHECK-NEXT: ^ 13 lay %r1, d-c(%r1) 14 15# CHECK-NOT: error 16 lay %r1, b-a(%r1) 17 18 .type a,@object 19 .local a 20 .comm a,4096 21 .type b,@object 22 .local b 23 .comm b,4,4 24 25 .type c,@object 26 .local c 27 .comm c,524288 28 .type d,@object 29 .local d 30 .comm d,4,4 31 32