summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/rnfail054.hs
blob: f83a0f9970a7eeb150157a417e5f5c7573ee3d86 (plain)
1
2
3
4
5
6
-- Test for trac #2141

module Foo where

foo :: () -> ()
foo x = x { foo = 1 }