diff options
Diffstat (limited to 'testsuite/tests/hiefile/should_compile/hie001.hs')
-rw-r--r-- | testsuite/tests/hiefile/should_compile/hie001.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/hiefile/should_compile/hie001.hs b/testsuite/tests/hiefile/should_compile/hie001.hs new file mode 100644 index 0000000000..53fe63ecde --- /dev/null +++ b/testsuite/tests/hiefile/should_compile/hie001.hs @@ -0,0 +1,9 @@ +module Foo where + +data Foo = Bar { x :: Int, y :: Bool } + +foo a = a{x=2} + +bar = Bar{ x = 1, y = False} + +foobar = foo (id id bar) |