Debian Codegraph @

testsuite/tests/warnings/w54.compilers.reference

raw
1 File "w54.ml", line 12, characters 33-39:
2 12 | let f = (fun x -> x) [@inline] [@inline never]
3 ^^^^^^
4 Warning 54 [duplicated-attribute]: the inline attribute is used more than once
5 on this expression
6
7 File "w54.ml", line 13, characters 51-63:
8 13 | let g = (fun x -> x) [@inline] [@something_else] [@ocaml.inline]
9 ^^^^^^^^^^^^
10 Warning 54 [duplicated-attribute]: the ocaml.inline attribute is used more than once
11 on this expression
12
13 File "w54.ml", line 15, characters 26-39:
14 15 | let h x = (g [@inlined] [@ocaml.inlined never]) x
15 ^^^^^^^^^^^^^
16 Warning 54 [duplicated-attribute]: the ocaml.inlined attribute is used more than once
17 on this expression
18
19 File "w54.ml", line 19, characters 0-43:
20 19 | let i = ((fun x -> x) [@inline]) [@@inline]
21 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 Warning 54 [duplicated-attribute]: the inline attribute is used more than once
23 on this expression