summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/T3776.hs
blob: b522cfe0e0a416773d061fb0777f97b2ad4548f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# OPTIONS_GHC -fwarn-unused-imports -fno-warn-missing-methods #-}

-- Check that although 'index' is apparently only used
-- unqualified, we nevertheless do not get a redundant-import warning
--   Trac #3776

module T3776 where

import qualified Data.Ix( Ix(index) )

instance Data.Ix.Ix Float where
  index = error "urk"