summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn040.hs
blob: 2ad49e1828eeead9b79d72e23dcfdab7db71d8b3 (plain)
1
2
3
4
5
6
7
8
{-# OPTIONS -fwarn-unused-binds #-}
module ShouldCompile where

-- !!! should produce warnings about unused identifiers
x :: [()]
x = [ () | y <- [] ]

z = do w <- getContents; return ()