Idris2/tests/idris2/coverage016/Issue633.idr
2021-04-28 20:25:45 +01:00

8 lines
126 B
Idris

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