summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_fail/T17244A.hs
blob: e0152d95d226954c794f38679447c6e687c6115a (plain)
1
2
3
4
5
6
7
8
9
10
{-# OPTIONS_GHC -Wcompat-unqualified-imports #-}

module T17244A (hello) where

-- This should NOT warn with -Wcompat-unqualified-imports,
-- Instead this just fails.
import Data.List

hello :: [Int] -> Int
hello = sum