summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T2357.hs
blob: cdc77c1507145d479cf7d41c9c3aa118fa5becfd (plain)
1
2
3
4
5
6
7
module Foo where

f :: Show a => a
(f, _) = undefined

g :: Show a => a
g = f