aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/BPF/vararg1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/BPF/vararg1.ll')
-rw-r--r--test/CodeGen/BPF/vararg1.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/BPF/vararg1.ll b/test/CodeGen/BPF/vararg1.ll
new file mode 100644
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
+}