diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-01-21 20:39:11 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-01-21 20:39:11 +0000 |
commit | ce5f07f33c5ee660709cc7a6bc5101f0e25da757 (patch) | |
tree | 8c26f4562f01d5e3382d583b0b680fc00ffd336a /test/MC/COFF/bad-expr.s | |
parent | da3446099d8e17d75f36fc78c88db1646469ddaf (diff) | |
download | llvm-ce5f07f33c5ee660709cc7a6bc5101f0e25da757.tar.gz llvm-ce5f07f33c5ee660709cc7a6bc5101f0e25da757.tar.bz2 llvm-ce5f07f33c5ee660709cc7a6bc5101f0e25da757.tar.xz |
Forgot to add testcase for r198590
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199765 91177308-0d34-0410-b5e6-96231b3b80d8
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 |