From aede171a59f9b7b8022548c385a1cb8c4589f905 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 3 Jan 2020 21:51:11 -0500 Subject: testsuite: Fix -Wcompat-unqualified-imports issues --- testsuite/tests/warnings/should_compile/T11077.hs | 2 ++ testsuite/tests/warnings/should_compile/T11077.stderr | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuite/tests/warnings') 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 -- cgit v1.2.1