Idris2/tests/idris2/coverage/coverage016/Issue633.idr
2023-09-07 14:57:22 +01:00

8 lines
126 B
Idris

%default total
test : (f : () -> Bool) -> f () = True
test (\x => True) = Refl
bad : False = True
bad = test (\() => False)