Files
mercury/tests/valid_make_int/bug506.m
Zoltan Somogyi 9ead91a087 Add a test for Mantis bug #506.
tests/valid_make_int/bug506.m:
tests/valid_make_int/bug506_sub.m:
    The test case. bug506_sub.m defines a type whose name is a Mercury
    operator; we test whether the compiler can read its .int3 file
    when generating the .int file of bug506.m.

tests/valid_make_int/Mmakefile:
    Enable the new case, after adding infrastructure for handling
    multi-module programs.
2020-05-18 00:00:13 +10:00

15 lines
329 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ft=mercury ts=4 sw=4 et
%---------------------------------------------------------------------------%
:- module bug506.
:- interface.
:- import_module bug506_sub.
:- func make_rule(int) = (rule).
:- implementation.
make_rule(N) = rule(N).