Files
mercury/tests/hard_coded/construct_mangle.exp
Peter Wang 7f62f7d8fa On the Java backend, a functor with the same name and arity as its type is
Branches: main, 10.04

On the Java backend, a functor with the same name and arity as its type is
given an extra "Mr_" prefix to distinguish it.  The Java implementation of
construct needs to account for the extra prefix; it does now.

library/rtti_implementation.m:
        As above.

tests/hard_coded/construct_mangle.exp:
tests/hard_coded/construct_mangle.m:
        Extend this test case.

        Add another name mangling problem, to be fixed some other time.
2010-09-30 03:16:23 +00:00

58 lines
944 B
Plaintext

univ_cons(' ')
univ_cons((!))
univ_cons('\"')
univ_cons('#')
univ_cons('$')
univ_cons('%')
univ_cons((&))
univ_cons('\'')
univ_cons('(')
univ_cons(')')
univ_cons((*))
univ_cons((+))
univ_cons((','))
univ_cons((-))
univ_cons((.))
univ_cons((/))
univ_cons('0')
univ_cons('1')
univ_cons('2')
univ_cons('3')
univ_cons('4')
univ_cons('5')
univ_cons('6')
univ_cons('7')
univ_cons('8')
univ_cons('9')
univ_cons((:))
univ_cons((;))
univ_cons((<))
univ_cons((=))
univ_cons((=<))
univ_cons((>))
univ_cons((>=))
univ_cons('?')
univ_cons((@))
univ_cons('[')
univ_cons([])
univ_cons('[|]')
univ_cons((\))
univ_cons((\=))
univ_cons(']')
univ_cons((^))
univ_cons('_')
univ_cons('`')
univ_cons('abc~!@#$%^&*()_+|xyz')
univ_cons(f_this_also_requires_mangling)
univ_cons(force_non_enum(1))
univ_cons(requires_mangling)
univ_cons(requires_mangling(1))
univ_cons('{')
univ_cons({})
univ_cons('|')
univ_cons('}')
univ_cons((~))
----
univ_cons('$singleton'(1))
----