llvm-for-llvmta/test/MC/COFF/bad-expr.s

7 lines
240 B
ArmAsm

// RUN: not llvm-mc -filetype=obj -triple i386-pc-win32 %s 2>&1 | FileCheck %s
.data
_x:
// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: symbol '__ImageBase' can not be undefined in a subtraction expression
.long _x-__ImageBase