summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T14000.hs
blob: 854a78b6ad225c63382fc39bbf7245510f3c638e (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TypeFamilies #-}
module T14000 where

class C a where
    type T a
    c :: a -> T a

foo = c noSuchThing   -- noSuchThing is not in scope