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

-- All these sections are illegal

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