summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T10930.hs
blob: e7a60952cf0ef6bbb2f901074ea5456916632f26 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE NegativeLiterals #-}
module T10930 where

import Numeric.Natural

x = -123 :: Word
y = -123 :: Natural

w = [10..3] :: [Word]
z = [10..3] :: [Natural]