1// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
2
3  .text
4// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected relocatable expression
5  ldr x0, =(-undef)
6