Files
mercury/tests/hard_coded/intermod_poly_mode.m
Julien Fischer b7fc0320fe Add a test case that exposes a bug with intermodule optimization.
Estimated hours taken: 0.2
Branches: main

tests/hard_coded/Mercury.options:
tests/hard_coded/Mmakefile:
tests/hard_coded/intermod_poly_mode.m:
tests/hard_coded/intermod_poly_mode_2.m:
tests/hard_coded/intermod_poly_mode.exp:
	Add a test case that exposes a bug with intermodule optimization.
2005-11-03 07:03:16 +00:00

23 lines
435 B
Mathematica

%
% This test case exposes a bug with intermodule optimization
% in rotd-2005-11-02 and before. (This is a cut-down version
% of the original test case provided by Peter Hawkins.)
%
:- module intermod_poly_mode.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
:- import_module int.
:- import_module intermod_poly_mode_2.
main(!IO) :-
New = new(561),
io.write(New, !IO),
io.nl(!IO).