Files
mercury/tests/invalid/circ_mode_2.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

20 lines
658 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
%
% Abother test for circular equivalence modes.
% This test is similar to circ_mode_1.m but tests some more
% complicated cases involving parametric modes.
%
:- module circ_mode_2.
:- interface.
:- import_module list.
:- mode circ1(I) == circ1(I). % error -- cyclic
:- mode circ2(I) == circ2(list_skel(I)). % error -- cyclic
:- mode left(I) == right(I). % error -- cyclic
:- mode right(I) == left(I). % error -- cyclic