mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
16 lines
333 B
LLVM
16 lines
333 B
LLVM
|
; RUN: not llc -march=bpf < %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
|
||
|
}
|