blob: 100c8e8f7e60fb595f81a766e66d782856ab7104 (
plain)
1
2
3
4
5
6
7
8
9
|
{-# LANGUAGE EmptyCase #-}
{-# LANGUAGE GADTs #-}
module T15450 where
f :: (Int ~ Bool) => Bool -> a
f x = case x of {}
g :: (Int ~ Bool) => Bool -> a
g x = case x of True -> undefined
|