1// RUN: not llvm-mc -triple aarch64--none-eabi -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