Files
mercury/tests/hard_coded/qual_is_test.m
Dylan Shuttleworth 08c2f17f4e A directory for tests that will not run under NU-prolog.
tests/hard_coded/:
	A directory for tests  that will not run under NU-prolog.  The
	expected outcome (`*.exp') files are hand written, and compared
	with output from the modules.

qual_*_test.m:
	Tests to ensure module qualification of predicates works correctly.
	qual_adv_test.m also tests that module names are used correctly to
	distinguish between predicates with similar/same names.

qual_*_test.exp:
	Expected output of above tests.
1995-10-19 05:44:20 +00:00

16 lines
319 B
Mathematica

:- module qual_is_test.
% A test to ensure parsing of the functor `is/2' is done correctly.
:- interface.
:- import_module qual_is_test_imported, io, list, string.
:- pred qual_is_test:main(io__state::di, io__state::uo) is det.
:- implementation.
qual_is_test:main -->
io__write_string(W),
{ is("Hi!.\n", W) }.