summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3176.hs
blob: 0235ad712fb8cec741e125f3a1398f56fab70bbf (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE ExistentialQuantification #-}

-- Trac #3176

module Foo where

data ES = forall a. Show a => ES {unES:: a}

smallPrintES f t = show $ unES $ f t