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