]> granicus.if.org Git - llvm/commitdiff
Make this test a bit more strict. NFC.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 20 Jun 2017 21:11:58 +0000 (21:11 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 20 Jun 2017 21:11:58 +0000 (21:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305855 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ELF/bad-expr2.s

index 3da916b7fa11e317cf6f82a8df935c9940d0769a..dad7431b13c7933c1f522fceb4ec6ffbc08d5186 100644 (file)
@@ -1,11 +1,10 @@
 // RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null \
 // RUN: 2>&1 | FileCheck %s
 
-// CHECK: No relocation available to represent this relative expression
-// CHECK: call foo - bar
-
-
+// CHECK: [[@LINE+2]]:{{[0-9]+}}: error: No relocation available to represent this relative expression
+// CHECK-NEXT: call foo - bar
         call foo - bar
+
         .section .foo
 foo:
         .section .bar