summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-03 21:51:11 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-08 10:17:55 -0500
commitaede171a59f9b7b8022548c385a1cb8c4589f905 (patch)
tree70c3a4e1518592f9392893ea3ad64a25bae0f467 /testsuite/tests/warnings
parentc2e301aeeae353a64be43e5fa9e7d464797d5648 (diff)
downloadhaskell-aede171a59f9b7b8022548c385a1cb8c4589f905.tar.gz
testsuite: Fix -Wcompat-unqualified-imports issues
Diffstat (limited to 'testsuite/tests/warnings')
-rw-r--r--testsuite/tests/warnings/should_compile/T11077.hs2
-rw-r--r--testsuite/tests/warnings/should_compile/T11077.stderr2
2 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/warnings/should_compile/T11077.hs b/testsuite/tests/warnings/should_compile/T11077.hs
index 76533cb950..a5280d9f8d 100644
--- a/testsuite/tests/warnings/should_compile/T11077.hs
+++ b/testsuite/tests/warnings/should_compile/T11077.hs
@@ -1,3 +1,5 @@
+{-# OPTIONS_GHC -Wno-compat-unqualified-imports #-}
+
module T11077 (module X, foo) where
import Data.List as X
foo = undefined
diff --git a/testsuite/tests/warnings/should_compile/T11077.stderr b/testsuite/tests/warnings/should_compile/T11077.stderr
index 1d6804335b..9621e8d5e1 100644
--- a/testsuite/tests/warnings/should_compile/T11077.stderr
+++ b/testsuite/tests/warnings/should_compile/T11077.stderr
@@ -1,3 +1,3 @@
-T11077.hs:3:1: warning: [-Wmissing-exported-signatures]
+T11077.hs:5:1: warning: [-Wmissing-exported-signatures]
Top-level binding with no type signature: foo :: a