projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a4977
)
Add testcase for r137746.
author
Jim Grosbach
<grosbach@apple.com>
Tue, 16 Aug 2011 21:11:21 +0000
(21:11 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Tue, 16 Aug 2011 21:11:21 +0000
(21:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137754
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/MC/ARM/thumb-diagnostics.s
[new file with mode: 0644]
patch
|
blob
diff --git a/test/MC/ARM/thumb-diagnostics.s
b/test/MC/ARM/thumb-diagnostics.s
new file mode 100644
(file)
index 0000000..
c8528c5
--- /dev/null
+++ b/
test/MC/ARM/thumb-diagnostics.s
@@ -0,0
+1,10
@@
+@ RUN: not llvm-mc -triple=thumbv6-apple-darwin < %s 2> %t
+@ RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
+
+@ Check for various assembly diagnostic messages on invalid input.
+
+@ ADD instruction w/o 'S' suffix.
+ add r1, r2, r3
+@ CHECK-ERRORS: error: invalid instruction
+@ CHECK-ERRORS: add r1, r2, r3
+@ CHECK-ERRORS: ^