diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn048.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn048.hs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn048.hs b/testsuite/tests/rename/should_compile/rn048.hs new file mode 100644 index 0000000000..e34c979258 --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn048.hs @@ -0,0 +1,15 @@ +{-# LANGUAGE GADTs #-} +{-# OPTIONS_GHC -W #-} +-- Produced a bogus unused-import warning in versions of GHC 6.6 + +module Bug ( Structure (..) ) where + +import Prelude hiding( Rational ) + -- Rational is exported by Prelude +import Data.Ratio ( Rational ) + +data Structure a where + StructCons :: Int -> Structure Int + StructRatio :: Structure Rational + + |