check for correct usage of the byval attribute
[oota-llvm.git] / test / Verifier / byval-1.ll
diff --git a/test/Verifier/byval-1.ll b/test/Verifier/byval-1.ll
new file mode 100644 (file)
index 0000000..cbae548
--- /dev/null
@@ -0,0 +1,2 @@
+; RUN: not llvm-as < %s -o /dev/null -f
+declare void @h(i32* byval %num)