summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_compile/T2478.hs
blob: eec589b444fb670e2a6dd9532f6a6ab8339d08a7 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE ExistentialQuantification, DatatypeContexts #-}

module ShouldCompile where

  data Eq t => TrafoE t = forall env2 . TrafoE Int t

  newSRef () = TrafoE