mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
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.
18 lines
571 B
Mathematica
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).
|