mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-13 12:53:53 +00:00
Estimated hours taken: 0.1 Another fix to make things work with my change to ensure that the declarations and definitions for data constants specify the same linkage (extern or static). tests/valid/intermod_lambda.m: Add definitions for types which were declared but not defined.
16 lines
344 B
Mathematica
16 lines
344 B
Mathematica
% Regression test for resolving overloading of higher-order terms
|
|
% exported using inter-module optimization.
|
|
% This is also a regression test to check that local modes are put
|
|
% in the .opt files.
|
|
:- module intermod_lambda.
|
|
|
|
:- interface.
|
|
|
|
:- type foo. % not used
|
|
|
|
:- implementation.
|
|
|
|
:- type foo ---> foo.
|
|
|
|
:- import_module intermod_lambda2.
|