• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN: not llvm-mc -triple armv7a--none-eabi -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-DAG: 10:13: error: symbol 'undef' could not be evaluated in a subtraction expression
12
13  .equ STACK_START, (a + undef)
14@ CHECK-DAG: 13:24: error: expression could not be evaluated
15