Files
mercury/tests/valid/no_warn_format_imports.m
Zoltan Somogyi c03b11ca48 Update the style of more test cases.
And updated expected outputs for changed line numbers.
2021-07-27 19:29:21 +10:00

18 lines
299 B
Mathematica

% vim: ft=mercury ts=4 sts=4 sw=4 et
:- module no_warn_format_imports.
:- interface.
:- import_module io.
:- pred main(io::di, io::uo) is det.
:- implementation.
:- import_module list.
:- import_module string.
main(!IO) :-
S = string.format("%s", [s("foo")]),
io.write_string(S, !IO).