summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail042.hs
blob: bdd9f97094fd7e10d20aa2e69af756a51083c0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- Check error message for transforms if we don't have the right extension turned on

module Foo where

import Data.List
import GHC.Exts

foo = [ ()
      | x <- [1..10]
      , then take 5
      , then sortWith by x
      ]