Files
mercury/tests/invalid/undef_lambda_mode.m
Simon Taylor de490deebd Tests for module qualification of types, insts and modes.
Estimated hours taken: 0.5

Tests for module qualification of types, insts and modes.

tests/invalid/undef_lambda_mode.m
Check that programs with undefined modes in lambda expressions
do not compile.

tests/warnings/unused_import.m unused_import.exp
Test the warning produced for unused interface imports.

tests/hard_coded/
	tim_qual1.m tim_qual1.exp tim_qual2.m tim_qual3.m
Test module qualification of types, insts and modes.
1996-06-11 06:33:17 +00:00

12 lines
184 B
Mathematica

:- module undef_lambda_mode.
:- interface.
:- pred test(pred(int)) is det.
:- mode test(pred(in) is semidet) is det.
:- implementation.
test(lambda([X::junk] is semidet, X = 1)).