summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc094.hs
blob: 334c34cf18eba4cd10631ef87d13e7d73fb6f158 (plain)
1
2
3
4
5
6
7
module ShouldSucceed where

-- From a bug report by Sven Panne.

foo = bar
   where bar = \_ -> (truncate boing, truncate boing)
         boing = 0