summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T2490.hs
blob: 052ee5c859d09eb8c3c9124470a31b875ca1a43d (plain)
1
2
3
4
5
6
7
8
9
10
-- #2490
module ShouldFail where

-- All these sections are illegal

f x = [ (`head` x, ())
      , (+ x, ())
      , ((), + x)
      , ((), + x, ())
      , ((), x +) ]