aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ELF/bad-expr2.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ELF/bad-expr2.s')
-rw-r--r--test/MC/ELF/bad-expr2.s7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/MC/ELF/bad-expr2.s b/test/MC/ELF/bad-expr2.s
index 3da916b7fa11..dad7431b13c7 100644
--- a/test/MC/ELF/bad-expr2.s
+++ b/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