xref: /aosp_15_r20/external/llvm/test/MC/COFF/bad-expr.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: not llvm-mc -filetype=obj -triple i386-pc-win32 %s 2>&1 | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker// CHECK: symbol '__ImageBase' can not be undefined in a subtraction expression
4*9880d681SAndroid Build Coastguard Worker// CHECK: symbol '__ImageBase' can not be undefined in a subtraction expression
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker        .data
7*9880d681SAndroid Build Coastguard Worker_x:
8*9880d681SAndroid Build Coastguard Worker        .long   _x-__ImageBase
9*9880d681SAndroid Build Coastguard Worker        .long   __ImageBase-_x
10