Debian Codegraph @

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

raw
1 This test showcases that although libraries can technically have non overlapping
2 stubs names, things are still broken if their .o files overlap:
3
4 $ dune build @all 2>&1 | dune_cmd sanitize
5 File "dune", line 4, characters 10-13:
6 4 | (c_names foo))
7 ^^^
8 Error: Multiple definitions for the same object file "foo". See another
9 definition at dune:9.
10 Hint: You can avoid the name clash by renaming one of the objects, or by
11 placing it into a different directory.
12 [1]