summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T17244A.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/T17244A.hs')
-rw-r--r--testsuite/tests/rename/should_compile/T17244A.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T17244A.hs b/testsuite/tests/rename/should_compile/T17244A.hs
new file mode 100644
index 0000000000..290120affd
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T17244A.hs
@@ -0,0 +1,9 @@
+{-# OPTIONS_GHC -Wcompat-unqualified-imports #-}
+
+module T17244A (hello) where
+
+-- This should warn with -Wcompat-unqualified-imports.
+import Data.List
+
+hello :: [Int] -> Int
+hello = sum