summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3592.hs
blob: b948b884d40603baffbee685a64dd2368854d025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE RankNTypes #-}

module T3592 where

type T a = Show a => a

f :: T a -> String
f = show

g :: T a -> String
g x = show x