summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds003.hs
blob: dafeac94b74cfda0451ea613fe669663a82ad6cf (plain)
1
2
3
4
5
6
7
8
-- !!! ds003 -- list, tuple, lazy, as patterns
--
module ShouldCompile where

f []		y	 True  = []
f x		a@(y,ys) ~z    = []
f (x:x1:x2:x3)	~(y,ys)  z     = []
f x		y        True  = []