summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/w06.ml
blob: dc4e6e6a6ae5511bd00b0c49cc0339d198b711ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(* TEST

flags = "-w +A-70"

* setup-ocamlc.byte-build-env
** ocamlc.byte
compile_only = "true"
*** check-ocamlc.byte-output

*)

let foo ~bar = ignore bar (* one label *)

let bar ~foo ~baz = ignore (foo, baz) (* two labels *)

let () = foo 2
let () = bar 4 2