summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/ELF/undefined-directional.s5
-rw-r--r--llvm/test/MC/MachO/undefined-directional.s4
2 files changed, 7 insertions, 2 deletions
diff --git a/llvm/test/MC/ELF/undefined-directional.s b/llvm/test/MC/ELF/undefined-directional.s
index 74449d4e4f6..e09acd73111 100644
--- a/llvm/test/MC/ELF/undefined-directional.s
+++ b/llvm/test/MC/ELF/undefined-directional.s
@@ -4,6 +4,9 @@
jmp 1b
// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: directional label undefined
jmp 1f
-// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: directional label undefined
+# 10 "wibble.s"
+// CHECK: wibble.s:11:{{[0-9]+}}: error: directional label undefined
jmp 2f
+# 42 "invalid.s"
+
diff --git a/llvm/test/MC/MachO/undefined-directional.s b/llvm/test/MC/MachO/undefined-directional.s
index 8d75228f835..80af9caf68c 100644
--- a/llvm/test/MC/MachO/undefined-directional.s
+++ b/llvm/test/MC/MachO/undefined-directional.s
@@ -4,6 +4,8 @@
jmp 1b
// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: directional label undefined
jmp 1f
-// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: directional label undefined
+# 10 "wibble.s"
+// CHECK: wibble.s:11:{{[0-9]+}}: error: directional label undefined
jmp 2f
+# 42 "invalid.s"
OpenPOWER on IntegriCloud