shithub: MicroHs

ref: 62044b52839f697afc20b623eb296488c02eaead
dir: /tests/EmptyCase.hs/

View raw version
module EmptyCase where

data Void

absurd1 :: Void -> a
absurd1 x = case x of {}

absurd2 :: Void -> a
absurd2 = \case {}

main :: IO ()
main = pure ()