Files
mercury/tests/hard_coded/runtime_opt.m
Julien Fischer 85e84f4f62 Fix the failure of hard_coded/runtime_opt on Windows.
tests/hard_coded/runtime_opt.exp2:
    Alternative expected output for where stdout and stderr are
    interleaved differently.

tests/hard_coded/runtime_opt.m:
    Document what the expected outputs are for.
2023-07-28 20:20:19 +10:00

18 lines
571 B
Mathematica

%---------------------------------------------------------------------------%
% vim: ts=4 sw=4 et ft=mercury
%---------------------------------------------------------------------------%
% The different exepcted outputs correspond to different interleavings of
% standard output and error.
%---------------------------------------------------------------------------%
:- module runtime_opt.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
main(!IO) :-
io.write_string("Hello world (with non-standard options).\n", !IO).