Files
mercury/tests/warnings/table_with_inline.m
Zoltan Somogyi e8eadc61bd Fix some causes of test case failures in java grade.
tests/warnings/foreign_singleton.err_exp2:
tests/warnings/singleton_test.err_exp2:
tests/warnings/singleton_test.err_exp3:
    Update expected outputs for recent changes.

tests/warnings/table_with_inline.m:
    Document the new .err_exp3 file.

tests/warnings/table_with_inline.err_exp3:
    Add this expected output for non-C grades.

tests/warnings/table_with_inline.err_exp:
tests/warnings/table_with_inline.err_exp2:
    Update line numbers.
2025-09-13 14:06:18 +10:00

23 lines
575 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
% The .err_exp file is for non .par C grades.
% The .err_exp2 file is for .par C grades.
% The .err_exp3 file is for non-C grades.
%---------------------------------------------------------------------------%
:- module table_with_inline.
:- interface.
:- import_module int.
:- func foo(int) = int.
:- implementation.
:- pragma memo(foo/1).
:- pragma inline(foo/1).
foo(A) = A + A.