mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +00:00
tests/invalid/undef_inst.m:
tests/invalid/undef_mode.m:
tests/invalid/undef_type.m:
Besides the references to undefined insts, modes and types,
these modules also lacked interface and implementation section markers.
Add those markers.
tests/invalid/undef_inst.err_exp:
tests/invalid/undef_mode.err_exp:
tests/invalid/undef_type.err_exp:
Do not expect the error messages for the missing markers.
Continue to expect error messages about the undefined entities,
but with updated line numbers.
tests/invalid/undef_symbol.m:
tests/invalid/undef_type_mod_qual.m:
Fix programming style.
14 lines
298 B
Mathematica
14 lines
298 B
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ts=4 sw=4 et ft=mercury
|
|
%---------------------------------------------------------------------------%
|
|
|
|
:- module undef_inst.
|
|
:- interface.
|
|
|
|
:- pred x(int).
|
|
:- mode x(foo >> bar) is det.
|
|
|
|
:- implementation.
|
|
|
|
x(1).
|