Use @LINE in two more tests.

llvm-svn: 307318
This commit is contained in:
Rafael Espindola 2017-07-06 21:33:23 +00:00
parent 68d0fcd7aa
commit 8c1fc04f3f
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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: