32 lines · plain
1# RUN: not llvm-mc -triple s390x-unknown-unknown -filetype=obj %s 2>&1 | FileCheck %s2 3 .text4 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: error16 lay %r1, b-a(%r1)17 18 .type a,@object19 .local a20 .comm a,409621 .type b,@object22 .local b23 .comm b,4,424 25 .type c,@object26 .local c27 .comm c,52428828 .type d,@object29 .local d30 .comm d,4,431 32