diff options
Diffstat (limited to 'testsuite/tests/rename/should_fail/rnfail054.hs')
-rw-r--r-- | testsuite/tests/rename/should_fail/rnfail054.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/rnfail054.hs b/testsuite/tests/rename/should_fail/rnfail054.hs new file mode 100644 index 0000000000..f83a0f9970 --- /dev/null +++ b/testsuite/tests/rename/should_fail/rnfail054.hs @@ -0,0 +1,6 @@ +-- Test for trac #2141 + +module Foo where + +foo :: () -> () +foo x = x { foo = 1 } |