Add HsSyn prettyprinter tests
[ghc.git] / testsuite / tests / typecheck / should_fail / tcfail189.hs
1 -- Checks that the correct type is used checking the using clause of
2 -- the group when a by clause is present
3
4 {-# OPTIONS_GHC -XTransformListComp #-}
5
6 module ShouldFail where
7
8 foo = [ length x
9 | x <- [1..10]
10 , then group by x using take 2
11 ]