summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_compile/tc202.hs
blob: 728060638830922be79d633c88d1f407e244d7ab (plain)
1
2
3
4
5
6
7
8

-- Tests that subFunTys works when the arugment is a type of form (a ty1 ty2)

module ShouldCompile where

newtype StreamArrow a b c = Str (a [b] [c])

foo = Str $ (\x -> x)