summaryrefslogtreecommitdiff
path: root/testsuite/tests/quantified-constraints/T18432.hs
blob: ba5072742064387632542d5c6990ec8e361a1d1a (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE QuantifiedConstraints #-}
module Bug where

import Data.Proxy

class C a where
  m :: Proxy a

f :: (forall {a}. C a) => Proxy Int
f = m