miaou — le blogv1.0.3

piege_to_ent.inter

← Le code · src/amorce/essais-inter/piege_to_ent.inter · 8 lignes

; piege_to_ent en inter : conversion d'un Nat trop grand en Ent
; Attendu : piège 1 (brk #1), le shell voit le code 133.
 
(fn main (params) (returns Nat)
  (let grand Nat 9223372036854775808)
  (let e Ent (to_ent grand))
  (return 0)
  (end fn main))