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