lean4-htt/tests/lean/run/compiler_proj_bug.lean
2025-01-23 19:07:31 -07:00

13 lines
185 B
Text

structure S :=
(a : Nat) (h : a > 0) (b : Nat)
def f (s : S) :=
s.b - s.a
/--
info: 25
---
warning: declaration uses 'sorry'
-/
#guard_msgs in
#eval! f {a := 5, b := 30, h := sorry }