summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/lazypat.hs
blob: f16da207aa9aa59107dc8dd722f3e994d2dfb4df (plain)
1
2
3
4
5
6
7
{-# LANGUAGE GADTs, ExistentialQuantification #-}

module ShouldFail where

data T = forall a. T a (a->Int)

f ~(T x f) = f x