summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T7085.hs
blob: 4b587f4dc7f771c78a7d7c3966e583a81ef5da81 (plain)
1
2
3
4
5
6
7
8
{-# OPTIONS_GHC -fwarn-unused-binds #-}

module ShouldFail where

foo :: Int -> Int
foo n = n + 1
   where
     Nothing = Just n