summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/T2431.hs
blob: 9c6ecf1ed3f33c0bba7403c0f8bec27c17e98bfd (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TypeOperators, GADTs, EmptyCase #-}
module T2431 where

data a :~: b where
  Refl :: a :~: a

absurd :: Int :~: Bool -> a
absurd x = case x of {}