summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-06-20 21:11:58 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-06-20 21:11:58 +0000
commit5f4a10bf23b2d1c0cbe2b11d4980772e84b5b0f0 (patch)
treef0b570d3ea48a8c940e62fd315753d11fad06c99
parent73f7f8df2b92e262c97dd8e3642a6e2fbf82b54e (diff)
downloadbcm5719-llvm-5f4a10bf23b2d1c0cbe2b11d4980772e84b5b0f0.tar.gz
bcm5719-llvm-5f4a10bf23b2d1c0cbe2b11d4980772e84b5b0f0.zip
Make this test a bit more strict. NFC.
llvm-svn: 305855
-rw-r--r--llvm/test/MC/ELF/bad-expr2.s7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/test/MC/ELF/bad-expr2.s b/llvm/test/MC/ELF/bad-expr2.s
index 3da916b7fa1..dad7431b13c 100644
--- a/llvm/test/MC/ELF/bad-expr2.s
+++ b/llvm/test/MC/ELF/bad-expr2.s
@@ -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
OpenPOWER on IntegriCloud