]> granicus.if.org Git - llvm/commitdiff
Use @LINE in two more tests.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 6 Jul 2017 21:33:23 +0000 (21:33 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 6 Jul 2017 21:33:23 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307318 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/COFF/bad-expr.s
test/MC/ELF/bad-expr3.s

index ecbdd415c3a616f5427104618c97e173fc76ce2c..cbbd5d0c946f701d4ab436602d5606dfc6e4551c 100644 (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
index 990167cda53f828cbb83c82fa31a912e08c9da1f..cf5d6f47335f52103bdf573d54b08774b1dfe482 100644 (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: