Idris2/tests/idris2/total011/Issue1828.idr

12 lines
188 B
Idris
Raw Normal View History

2021-09-01 13:32:51 +03:00
%default total
mutual
caseTest : Nat -> Bool
caseTest p with (dummy)
caseTest p | _ = True
dummy : Nat
dummy = case (caseTest 0) of
True => 0
_ => 0