summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T15502.hs
blob: 96800f8bc6e1372c56eab2855a7c7b3bd38397d8 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE TemplateHaskell #-}

module T15502 where

import Language.Haskell.TH.Syntax  (Lift(lift))

main = print ( $( lift (toInteger (maxBound :: Int) + 1) )
             , $( lift (minBound :: Int) )
             )