summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T4498.hs
blob: fb8c120601b975642f933f4c10099f5429c9ff74 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE BangPatterns, NoMonoLocalBinds, NoMonoPatBinds #-}

module T4498 where

f x = let !y = (\v -> v) :: a -> a
      in (y x, y 'T')