summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AArch64
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/AArch64')
-rw-r--r--llvm/test/MC/AArch64/error-location-post-layout.s9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/test/MC/AArch64/error-location-post-layout.s b/llvm/test/MC/AArch64/error-location-post-layout.s
index 8b41c6780b3..64e2951efba 100644
--- a/llvm/test/MC/AArch64/error-location-post-layout.s
+++ b/llvm/test/MC/AArch64/error-location-post-layout.s
@@ -1,14 +1,11 @@
// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
-// Note: These errors are not always emitted in the order in which the relevant
-// source appears, this file is carefully ordered so that that is the case.
-
-// CHECK: <unknown>:0: error: expression could not be evaluated
.set v1, -undef
+// CHECK: <unknown>:0: error: expression could not be evaluated
.comm common, 4
-// CHECK: <unknown>:0: error: Common symbol 'common' cannot be used in assignment expr
.set v3, common
+// CHECK: 7:12: error: Common symbol 'common' cannot be used in assignment expr
-// CHECK: <unknown>:0: error: symbol 'undef' could not be evaluated in a subtraction expression
.set v2, a-undef
+// CHECK: 10:13: error: symbol 'undef' could not be evaluated in a subtraction expression
OpenPOWER on IntegriCloud