Commit c5a39389 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Test Trac #8149

parent 4ba4cc7a
{-# OPTIONS_GHC -Wall #-}
module T8149 where
import Control.Monad.Trans.Writer (WriterT, runWriterT)
foo :: Bool
foo = runWriterT `seq` True
T8149.hs:5:1: Warning:
The import of ‘WriterT’
from module ‘Control.Monad.Trans.Writer’ is redundant
......@@ -111,6 +111,7 @@ test('T7906', normal, compile_fail, [''])
test('T7937', normal, compile_fail, [''])
test('T7943', normal, compile_fail, [''])
test('T8448', normal, compile_fail, [''])
test('T8149', normal, compile, [''])
test('T9006',
extra_clean(['T9006a.hi', 'T9006a.o']),
multimod_compile_fail, ['T9006', '-v0'])
......
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