summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/readFail006.hs
blob: fa3d867c67109b74e65d757fc5b4ba190f5abcec (plain)
1
2
3
4
5
6
7
8
9
-- !!! Using pattern syntax on RHS
module ShouldFail where

f :: Int -> Int
f x = _

g :: Int -> Int
g x = 2 + 2@_