diff options
Diffstat (limited to 'ghc/compiler/tests/rename/rn004.hs')
-rw-r--r-- | ghc/compiler/tests/rename/rn004.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ghc/compiler/tests/rename/rn004.hs b/ghc/compiler/tests/rename/rn004.hs new file mode 100644 index 0000000000..247d04b8d7 --- /dev/null +++ b/ghc/compiler/tests/rename/rn004.hs @@ -0,0 +1,9 @@ +module Foo where + +--!!! multiple definitions, but hidden in patterns + +f x = x + where + a = [] + (b,c,a) = ([],[],d) + [d,b,_] = ([],a,[]) |