Commit acd95bc0 authored by simonpj's avatar simonpj
Browse files

Add test for bogus unusued-import message

parent a8a953e5
......@@ -43,6 +43,7 @@ clean(['Rn043_A.hi', 'Rn043_A.o', 'Rn043_B.hi', 'Rn043_B.o'])
test('rn045', normal, compile, [''])
test('rn046', normal, compile, ['-W'])
test('rn047', normal, compile, ['-W'])
test('rn048', normal, compile, ['-W'])
test('timing001', normal, compile, [''])
test('timing002', normal, compile, [''])
......
{-# OPTIONS_GHC -W #-}
-- Produced a bogus unused-import warning in versions of GHC 6.6
module Bug ( Structure (..) ) where
import Data.Ratio ( Rational )
data Structure a where
StructCons :: Int -> Structure Int
StructRatio :: Structure Rational
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