Commit 60cdd53a authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #3776

parent f2e474e5
{-# 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 Ix( Ix(index) )
instance Ix.Ix Float where
index = error "urk"
......@@ -333,3 +333,4 @@ test('T2267', normal, compile, [''])
test('T414', normal, compile_fail, [''])
test('T414a', normal, compile, [''])
test('T414b', normal, compile, [''])
test('T3776', normal, compile, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment