summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T5592.hs
blob: 7f03757814542cdb93ebdd035342a1ee480db46c (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE RecordWildCards #-}
module Main where

import qualified T5592a as MR (MyRecord(MyRecord, field))

main
  = do { let field = "Hello, world!"
             rec = MR.MyRecord {..}
       ; print rec }