diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/COFF/bad-expr.s | 3 | ||||
| -rw-r--r-- | llvm/test/MC/ELF/bad-expr3.s | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/MC/COFF/bad-expr.s b/llvm/test/MC/COFF/bad-expr.s index ecbdd415c3a..cbbd5d0c946 100644 --- a/llvm/test/MC/COFF/bad-expr.s +++ b/llvm/test/MC/COFF/bad-expr.s @@ -1,7 +1,6 @@ // 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: +// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: symbol '__ImageBase' can not be undefined in a subtraction expression .long _x-__ImageBase diff --git a/llvm/test/MC/ELF/bad-expr3.s b/llvm/test/MC/ELF/bad-expr3.s index 990167cda53..cf5d6f47335 100644 --- a/llvm/test/MC/ELF/bad-expr3.s +++ b/llvm/test/MC/ELF/bad-expr3.s @@ -1,8 +1,7 @@ // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \ // RUN: 2>&1 | FileCheck %s -// CHECK: Cannot represent a difference across sections - +// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent a difference across sections .long foo - bar .section .zed foo: |

