[llvm] r305855 - Make this test a bit more strict. NFC.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 14:11:58 PDT 2017


Author: rafael
Date: Tue Jun 20 16:11:58 2017
New Revision: 305855

URL: http://llvm.org/viewvc/llvm-project?rev=305855&view=rev
Log:
Make this test a bit more strict. NFC.

Modified:
    llvm/trunk/test/MC/ELF/bad-expr2.s

Modified: llvm/trunk/test/MC/ELF/bad-expr2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/bad-expr2.s?rev=305855&r1=305854&r2=305855&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/bad-expr2.s (original)
+++ llvm/trunk/test/MC/ELF/bad-expr2.s Tue Jun 20 16:11:58 2017
@@ -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




More information about the llvm-commits mailing list