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

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

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