diff options
Diffstat (limited to 'testsuite/tests/module/mod171.hs')
-rw-r--r-- | testsuite/tests/module/mod171.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod171.hs b/testsuite/tests/module/mod171.hs new file mode 100644 index 0000000000..a61e886784 --- /dev/null +++ b/testsuite/tests/module/mod171.hs @@ -0,0 +1,11 @@ +-- !! Test import-unused warnings on 'module M' exports +-- This one should not generate any warnings + +module M (module Mod171_A, h) where + +import Mod171_A -- This isn't unused... +import Mod171_B -- even though this imports all the same stuff + +h :: Int -> Int +h = g + |