diff options
Diffstat (limited to 'testsuite/tests/rename/should_fail/T5892b.hs')
-rw-r--r-- | testsuite/tests/rename/should_fail/T5892b.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T5892b.hs b/testsuite/tests/rename/should_fail/T5892b.hs new file mode 100644 index 0000000000..6bcea27856 --- /dev/null +++ b/testsuite/tests/rename/should_fail/T5892b.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE RecordWildCards #-} +module T5892b where + +import Data.Version ( Version( Version, versionBranch )) +-- Not importing its field: versionTags + +Version{..} = Version [] [] +-- Binds versionBranch only + +foo = T5892b.versionBranch +bar = T5892b.versionTags |