projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ARM,AArch64] Store source location for values in assembly files
[oota-llvm.git]
/
test
/
MC
/
AArch64
/
error-location.s
diff --git a/test/MC/AArch64/error-location.s
b/test/MC/AArch64/error-location.s
new file mode 100644
(file)
index 0000000..
988eae7
--- /dev/null
+++ b/
test/MC/AArch64/error-location.s
@@ -0,0
+1,5
@@
+// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s
+
+ .text
+// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: symbol 'undef' can not be undefined in a subtraction expression
+ .word (0-undef)