summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-format/pr6824.ml
blob: 342ebd9a11659262ab4ea6f3d0f4c64b9add518c (plain)
1
2
3
4
5
6
7
8
9
10
11
(* TEST
 include testing;
*)

let f = Format.sprintf "[%i]";;
print_endline (f 1);;
print_endline (f 2);;

let f = Format.asprintf "[%i]";;
print_endline (f 1);;
print_endline (f 2);;