Files
mercury/tests/valid/ho_inst.m
Andrew Bromage cf4f945a9a Test case to ensure that special_preds for higher order
Estimated hours taken: 0.1

tests/valid/Mmake:
tests/valid/ho_inst.m:
	Test case to ensure that special_preds for higher order
	func insts are created and mode/determinism checked correctly.
1997-06-18 07:26:05 +00:00

19 lines
332 B
Mathematica

% This test ensures that special preds for higher order func insts
% are generated and modechecked correctly.
% -- 18 Jun 1997 bromage
:- module ho_inst.
:- interface.
:- import_module int.
:- type foo == (func(int) = int).
:- type baz.
:- implementation.
:- type bar == (func(int) = int).
:- type baz == (func(int) = int).