Files
mercury/tests/hard_coded/trace_goal_opt.m
Peter Wang c4d62c0d53 Add test case for writing trace goal parameters in .opt files.
tests/hard_coded/Mercury.options:
tests/hard_coded/Mmakefile:
tests/hard_coded/trace_goal_opt.exp:
tests/hard_coded/trace_goal_opt.m:
tests/hard_coded/trace_goal_opt_2.m:
	Add test case.
2015-08-17 10:47:48 +10:00

23 lines
584 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
% Check that trace goal conditions are written to .opt files.
:- module trace_goal_opt.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
:- import_module trace_goal_opt_2.
main(!IO) :-
% We do not meet the conditions of the trace goal in this predicate
% so it should not execute.
require_lt(2, 1),
io.write_string("done.\n", !IO).