diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2014-05-02 12:09:52 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2014-05-05 09:12:15 +0100 |
commit | 9f3e39d5f8686e511ffca406a6e056dec4095e53 (patch) | |
tree | 6f8330a048ed9352f049ef8be341d83f1902630f /testsuite/tests/module/T9061.hs | |
parent | f0fcc41d755876a1b02d1c7c79f57515059f6417 (diff) | |
download | haskell-9f3e39d5f8686e511ffca406a6e056dec4095e53.tar.gz |
Fix over-zealous unused-import warning
See Note [Un-warnable import decls] in RnNames.
Fixes Trac #9061.
Diffstat (limited to 'testsuite/tests/module/T9061.hs')
-rw-r--r-- | testsuite/tests/module/T9061.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/module/T9061.hs b/testsuite/tests/module/T9061.hs new file mode 100644 index 0000000000..1417dcad75 --- /dev/null +++ b/testsuite/tests/module/T9061.hs @@ -0,0 +1,6 @@ +{-# OPTIONS_GHC -fwarn-unused-imports #-} +module T9061 where + +import Prelude hiding (log) + +f = log where log = () |