summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/lib/should_run/char002.hs
blob: 60b8b03cdac4d4a4f26b5ec7931a948ac6b17f03 (plain)
1
2
3
4
5
6
7
-- !!! tests for large character values in literals
import Data.Char
main = do
  print (ord '\xffff')
  print (ord '\o7777')
  print (ord '\65535')
  print (map ord "\xffff\o7777\65535")