diff options
Diffstat (limited to 'ghc/compiler/tests/rename/rn003.hs')
-rw-r--r-- | ghc/compiler/tests/rename/rn003.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ghc/compiler/tests/rename/rn003.hs b/ghc/compiler/tests/rename/rn003.hs new file mode 100644 index 0000000000..493cfa2779 --- /dev/null +++ b/ghc/compiler/tests/rename/rn003.hs @@ -0,0 +1,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 []) |