summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn041.hs
blob: 1606e537ce459e17f6ec6b2f965abba46c6fe4b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# OPTIONS -fwarn-unused-binds #-}

-- Test reports of unused bindings

module ShouldCompile( t ) where

f x = f x       -- Unused

g x = h x       -- Unused
h x = g x

t x = t x       -- Used by export list