xref: /llvm-project/llvm/test/MC/AArch64/error-location-during-layout.s (revision 54c79fa53c17a93d3d784738cae52d847102d279)
1// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
2
3  .section a
4  .space 8
5// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: invalid .org offset '4' (at offset '8')
6  .org 4
7
8  .section b
9// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected absolute expression
10  .org undef
11
12  .section c
13// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected assembly-time absolute expression
14  .org -undef
15