Idris2/tests/idris2/coverage016/Issue633.idr

8 lines
126 B
Idris
Raw Normal View History

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