xref: /llvm-project/llvm/test/MC/AArch64/error-location-post-layout.s (revision 54c79fa53c17a93d3d784738cae52d847102d279)
1// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
2
3  .set v1, -undef
4// CHECK: 3:12: error: expression could not be evaluated
5
6  .comm common, 4
7  .set v3, common
8// CHECK: 7:12: error: Common symbol 'common' cannot be used in assignment expr
9
10  .set v2, a-undef
11// CHECK: 10:13: error: symbol 'undef' could not be evaluated in a subtraction expression
12