diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn041.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn041.hs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn041.hs b/testsuite/tests/rename/should_compile/rn041.hs new file mode 100644 index 0000000000..454227c14d --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn041.hs @@ -0,0 +1,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 + |