summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T11672.hs
blob: 8c5e2fba6e141910e80261028a687de549777192 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE KindSignatures #-}
module BadError where

import GHC.TypeLits
import Data.Proxy

f :: Proxy (a :: Symbol) -> Int
f _ = f (Proxy :: Proxy (Int -> Bool))