diff options
Diffstat (limited to 'testsuite/tests/lib/should_run/char002.hs')
-rw-r--r-- | testsuite/tests/lib/should_run/char002.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/lib/should_run/char002.hs b/testsuite/tests/lib/should_run/char002.hs new file mode 100644 index 0000000000..60b8b03cda --- /dev/null +++ b/testsuite/tests/lib/should_run/char002.hs @@ -0,0 +1,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") |