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

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

z = do w <- getContents; return ()