mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
tests/invalid/foreign_include_file_missing.{m,err_exp4}:
Add an additional expected output for Java.
23 lines
778 B
Mathematica
23 lines
778 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 "\".
|
|
% The .err_exp3 file is for C# with "/" as separator.
|
|
% The .err_exp4 file is for Java with "/" as separator.
|
|
|
|
:- 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).
|