projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check for correct usage of the byval attribute
[oota-llvm.git]
/
test
/
Verifier
/
byval-4.ll
diff --git a/test/Verifier/byval-4.ll
b/test/Verifier/byval-4.ll
new file mode 100644
(file)
index 0000000..
ff733a5
--- /dev/null
+++ b/
test/Verifier/byval-4.ll
@@ -0,0
+1,4
@@
+; RUN: llvm-as < %s -o /dev/null -f
+%struct.foo = type { i64 }
+
+declare void @h(%struct.foo* byval %num)