1 @ RUN: not llvm-mc -triple armv7a--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
3 @ Note: These errors are not always emitted in the order in which the relevant
4 @ source appears, this file is carefully ordered so that that is the case.
7 @ CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: symbol 'undef' can not be undefined in a subtraction expression
10 @ CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected relocatable expression
13 @ CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: No relocation available to represent this relative expression
16 @ CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: Cannot represent a difference across sections
19 @ CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: Cannot represent a subtraction with a weak symbol
22 @ CHECK: <unknown>:0: error: expression could not be evaluated
26 @ CHECK: <unknown>:0: error: Common symbol 'common' cannot be used in assignment expr
29 @ CHECK: <unknown>:0: error: Undefined temporary symbol
32 @ CHECK: <unknown>:0: error: symbol 'undef' could not be evaluated in a subtraction expression