Idris2/tests/idris2/total012/Issue1828.idr
2021-09-03 12:07:29 +01:00

10 lines
172 B
Idris

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