summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn003.hs
blob: bb225837211090f53f648a5ebce0e82f372902dc (plain)
1
2
3
4
5
6
7
8
9
module Foo (f) where
-- export food
f x = x

-- !!! weird patterns with no variables
1  = f 1
[] = f []
1  = f (f 1)
[] = f (f [])