Files
mercury/tests/invalid/foreign_include_file_missing.m
Zoltan Somogyi ce3e48d5ed Fix an ninth batch of C# invalid test failures.
tests/invalid/foreign_enum_invalid.{m,err_exp}:
    Delete the "foreign enum in interface" error from this test case,
    moving it to invalid_make_int/bad_in_interface.

tests/invalid/foreign_type_visibility.err_exp2:
tests/invalid/foreign_type_visibility.err_exp3:
    Add these expected outputs for Java and C# respectively.
tests/invalid/foreign_type_visibility.m:
    Document the new expected output files.
tests/invalid/foreign_type_visibility.err_exp:
    Update for changed line numbers.

tests/invalid/foreign_include_file_missing.m:
    Fix indentation.

tests/invalid/Mercury.options:
    Allow a test case to get past the creation of interface files.

tests/invalid_make_int/bad_in_interface.{m,int_err_exp}:
    Move the "foreign enum in interface" part of invalid/foreign_enum_invalid
    here.
2023-10-30 15:54:22 +11:00

21 lines
668 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
% The .err_exp file is for systems where the directory separator is "/".
% The .err_exp2 file is for systems where the directory separator is "\".
:- module foreign_include_file_missing.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
:- pragma foreign_code("C", include_file("missing_file")).
:- pragma foreign_code("Java", include_file("missing_file")).
:- pragma foreign_code("C#", include_file("missing_file")).
main(!IO).