mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 11:54:02 +00:00
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.
11 lines
114 B
Mathematica
11 lines
114 B
Mathematica
:- module tim_qual2.
|
|
|
|
:- interface.
|
|
|
|
:- type test_type
|
|
---> ok.
|
|
|
|
:- mode test_mode :: in.
|
|
|
|
:- inst inst1 = free.
|