diff options
Diffstat (limited to 'test/MC/COFF/bad-expr.s')
-rw-r--r-- | test/MC/COFF/bad-expr.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/COFF/bad-expr.s b/test/MC/COFF/bad-expr.s new file mode 100644 index 0000000000..ecbdd415c3 --- /dev/null +++ b/test/MC/COFF/bad-expr.s @@ -0,0 +1,7 @@ +// RUN: not llvm-mc -filetype=obj -triple i386-pc-win32 %s 2>&1 | FileCheck %s + +// CHECK: symbol '__ImageBase' can not be undefined in a subtraction expression + + .data +_x: + .long _x-__ImageBase |