mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 12:23:44 +00:00
Estimated hours taken: 0.2
invalid/external.{m,exp}:
Add a test case for the change to make_hlds.m.
invalid/Mmake:
Enable the new test case.
13 lines
200 B
Mathematica
13 lines
200 B
Mathematica
% This module tests the error message for malformed external declarations.
|
|
|
|
:- module external.
|
|
|
|
:- interface.
|
|
|
|
:- pred p(int, int).
|
|
:- mode p(in, out) is nondet.
|
|
|
|
:- implementation.
|
|
|
|
:- external(p).
|