Debian Codegraph @

test/blackbox-tests/test-cases/rocq/theory-stanza-duplicate-module.t/run.t

raw
1 Dune should warn about duplicate modules declared inside a rocq.theory stanza
2
3 $ cat > dune << EOF
4 > (rocq.theory
5 > (name foo)
6 > (modules foo bar foo))
7 > EOF
8
9 $ dune build
10 File "dune", lines 1-3, characters 0-48:
11 1 | (rocq.theory
12 2 | (name foo)
13 3 | (modules foo bar foo))
14 Error: Duplicate Rocq module "foo".
15 Hint: The Rocq module "foo" is already covered by rocq.theory stanza "foo".
16 [1]