Debian Codegraph @

test/blackbox-tests/test-cases/foreign-stubs/duplicate-c-cxx/diff-stanza.t/run.t

raw
1 c_names with overlapping names in different stanzas
2
3 $ dune build @all 2>&1 | dune_cmd sanitize
4 File "dune", line 4, characters 10-13:
5 4 | (c_names foo))
6 ^^^
7 Error: Multiple definitions for the same object file "foo". See another
8 definition at dune:9.
9 Hint: You can avoid the name clash by renaming one of the objects, or by
10 placing it into a different directory.
11 [1]