Files
mercury/tests/invalid/circ_mode_3.m
Zoltan Somogyi 107a5d42d4 Regularize filenames in tests/invalid.
Like most test directories, tests/invalid contains several groups of
related tests. The names of these tests followed several different patterns:

    x_1, x_2, x_3
    x, x_2, x_3
    x, x2, x3

This diff changes all these groups to follow the first pattern above
by renaming all the relevant tests in the groups that used to follow
one of the other patterns.
2024-05-11 02:21:45 +10:00

26 lines
560 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
%
% Test for circular equivalence modes.
% This is the same as circ_mode_1.m,
% except that we also have a predicate which makes use of the modes.
%
:- module circ_mode_3.
:- interface.
:- mode circ == circ.
:- mode circ1 == circ2.
:- mode circ2 == circ1.
:- pred p(int, int, int, int).
:- mode p(circ, circ, circ1, circ2) is det.
:- implementation.
p(X, X, Y, Y).