summaryrefslogtreecommitdiff
path: root/testsuite/tests/impredicative/T7026.hs
blob: 3ef6ae277b184a0ff747983a717a5f59f67203a4 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE ImplicitParams, ImpredicativeTypes #-}

module Bug where

    f1 :: Maybe ((?a :: Bool) => Char)
    f1 = Just 'C'

    f2 :: Maybe ((?a :: Bool) => Bool)
    f2 = Just ?a