Commit c5b901fc authored by simonmar's avatar simonmar
Browse files

[project @ 2002-08-21 10:48:02 by simonmar]

Add test for large character values in literals, along with Char.ord.
parent 22ee7305
test('char001', normal, compile_and_run, ['']) test('char001', normal, compile_and_run, [''])
test('char002', normal, compile_and_run, [''])
test('rand001', normal, compile_and_run, ['']) test('rand001', normal, compile_and_run, [''])
test('show001', normal, compile_and_run, ['']) test('show001', normal, compile_and_run, [''])
test('text001', normal, compile_and_run, ['']) test('text001', normal, compile_and_run, [''])
......
-- !!! tests for large character values in literals
import Char
main = do
print (ord '\xffff')
print (ord '\o7777')
print (ord '\65535')
print (map ord "\xffff\o7777\65535")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment