Idris2/tests/idris2/total/total011/Issue1828.idr
2023-09-07 14:57:22 +01:00

12 lines
188 B
Idris

%default total
mutual
caseTest : Nat -> Bool
caseTest p with (dummy)
caseTest p | _ = True
dummy : Nat
dummy = case (caseTest 0) of
True => 0
_ => 0