[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / error-location-post-layout.s
blobdea929e4352e814cce17bee51abe52ad42e874ad
1 @ RUN: not llvm-mc -triple armv7a--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
3 .set v1, -undef
4 @ CHECK: 3:12: error: expression could not be evaluated
6 .comm common, 4
7 .set v3, common
8 @ CHECK: 7:12: error: Common symbol 'common' cannot be used in assignment expr
10 .set v2, a-undef
11 @ CHECK-DAG: 10:13: error: symbol 'undef' could not be evaluated in a subtraction expression
13 .equ STACK_START, (a + undef)
14 @ CHECK-DAG: 13:24: error: expression could not be evaluated