summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T10930b.hs
blob: 59441669c23cd86342ac234ad64773fbeab699a7 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE NegativeLiterals #-}
module T10930a where

import Numeric.Natural

x = [-10 .. -3] :: [Natural]
y = [-3 .. -10] :: [Natural]