summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric/should_run/T15301.hs
blob: def28ecf8c35f7f3d5681ff92b7de68623752766 (plain)
1
2
3
4
5
6
7
import Numeric
import GHC.Num.Natural

main = do
   -- test that GHC correctly compiles big Natural literals
   let x = 0xffffffffffffffffffffffff :: Natural
   print (showHex x "" == "ffffffffffffffffffffffff")