summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/BPF/many_args2.ll
blob: 08a1179bc5e05abf642b111f64791328aa5d1fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: not llc -march=bpf -exit-on-error < %s 2> %t1
; RUN: FileCheck %s < %t1
; CHECK: too many args

; Function Attrs: nounwind readnone uwtable
define i32 @bar(i32 %a, i32 %b, i32 %c, i32 %d, i32 %e, i32 %f) #0 {
entry:
  ret i32 1
}

; Function Attrs: nounwind readnone uwtable
define i32 @foo(i32 %a, i32 %b, i32 %c) #0 {
entry:
  ret i32 1
}
OpenPOWER on IntegriCloud