summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_compile/tc230.hs
blob: 11877d487f7751488c80f448a3ee23d24d2a8e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE ImplicitParams #-}

-- Trac #1445

module Bug where

f :: () -> (?p :: ()) => () -> ()
f _ _ = ()

g :: (?p :: ()) => ()
g = f () ()