projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AsmParser: Call instructions can't have an alignment
[oota-llvm.git]
/
test
/
Assembler
/
call-invalid-1.ll
diff --git a/test/Assembler/call-invalid-1.ll
b/test/Assembler/call-invalid-1.ll
new file mode 100644
(file)
index 0000000..
4a12b14
--- /dev/null
+++ b/
test/Assembler/call-invalid-1.ll
@@ -0,0
+1,9
@@
+; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
+
+declare void @f()
+
+define void @g() {
+ call void @f() align 8
+; CHECK: error: call instructions may not have an alignment
+ ret void
+}