Merge pull request #10599 from cabalism/typo/depency
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / issue-7776-b.cabal
blob0a92165b20824638e6cca08fa17e05f75f4ac8e5
1 cabal-version: 3.4
2 name:          issue
3 version:       7776
4 build-type:    Simple
5 synopsis:      duplicate-module check
6 category:      Test
7 description:   With duplicate modules, even with overlapping conditions, it should be buildable but should show a warning.
8 license:       BSD-3-Clause
9 license-file:  LICENSE
10 maintainer:    Cabal Contributors
12 -- Example taken from hashable-1.3.0
13 library
14     exposed-modules:  Foo
15     -- the base lower bound makes the package not buildable with ghc < 6.8
16     -- but cabal is not smart enough to know it :-P
17     build-depends: base >= 4.5 && < 4.15
18     default-language: Haskell2010
20 benchmark benchmarks
21     main-is: Benchmarks.hs
22     other-modules:
23         Data.Hashable.RandomSource
24     type: exitcode-stdio-1.0
25     if impl(ghc >= 6.8)
26         Ghc-options: -fwarn-tabs
27     else
28         other-modules: Data.Hashable.RandomSource
29     default-language: Haskell2010