summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/T3776.hs
blob: 195fc8ac04a178477fa1d994cbb69daae08374de (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
--   #3776

module T3776 where

import qualified Data.Ix( Ix(index) )

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