projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BPF backend
[oota-llvm.git]
/
test
/
CodeGen
/
BPF
/
vararg1.ll
diff --git a/test/CodeGen/BPF/vararg1.ll
b/test/CodeGen/BPF/vararg1.ll
new file mode 100644
(file)
index 0000000..
4a22db6
--- /dev/null
+++ b/
test/CodeGen/BPF/vararg1.ll
@@ -0,0
+1,9
@@
+; RUN: not llc -march=bpf < %s 2> %t1
+; RUN: FileCheck %s < %t1
+; CHECK: with VarArgs
+
+; Function Attrs: nounwind readnone uwtable
+define void @foo(i32 %a, ...) #0 {
+entry:
+ ret void
+}