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

-- #3176

module Foo where

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

smallPrintES f t = show $ unES $ f t