summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail004.hs
blob: 90a97f894cf22aa33e061530e0c3ae9c78d32cc4 (plain)
1
2
3
4
5
6
7
8
-- !!! multiple definitions, but hidden in patterns
module Foo where

f x = x
  where
    a		= []
    (b,c,a)	= ([],[],d)
    [d,b,_]	= ([],a,[])