- src/interp/machine.zig: format-0 interpreter on the air64 target; checked/wrapping arithmetic, shifts, casts, aggregates, calls with a 1024-frame limit, traps as records with T0xxx codes - aji run: prints one JSON run record; exit code 4 on trap - conformance runner: `expect: run` with `result:`/`trap:`, every run executed twice and compared byte-for-byte; header keys must be single lowercase words - Phase 0 corpus: 3 accept, 19 reject, 15 run tests (41 total)
14 lines
843 B
LLVM
14 lines
843 B
LLVM
; 65 parameters exceed the limit of 64.
|
|
; expect: reject E5101
|
|
; phase: 0
|
|
; spec: docs/spec/08-verifier.md
|
|
module test.too_many_params
|
|
air 0
|
|
lang 0.1
|
|
features []
|
|
|
|
fn @f(%p0: u8, %p1: u8, %p2: u8, %p3: u8, %p4: u8, %p5: u8, %p6: u8, %p7: u8, %p8: u8, %p9: u8, %p10: u8, %p11: u8, %p12: u8, %p13: u8, %p14: u8, %p15: u8, %p16: u8, %p17: u8, %p18: u8, %p19: u8, %p20: u8, %p21: u8, %p22: u8, %p23: u8, %p24: u8, %p25: u8, %p26: u8, %p27: u8, %p28: u8, %p29: u8, %p30: u8, %p31: u8, %p32: u8, %p33: u8, %p34: u8, %p35: u8, %p36: u8, %p37: u8, %p38: u8, %p39: u8, %p40: u8, %p41: u8, %p42: u8, %p43: u8, %p44: u8, %p45: u8, %p46: u8, %p47: u8, %p48: u8, %p49: u8, %p50: u8, %p51: u8, %p52: u8, %p53: u8, %p54: u8, %p55: u8, %p56: u8, %p57: u8, %p58: u8, %p59: u8, %p60: u8, %p61: u8, %p62: u8, %p63: u8, %p64: u8) -> void
|
|
effects []
|
|
entry:
|
|
ret
|