Make Markdown example a code block
[cabal.git] / Cabal-tests / tests / ParserTests / errors / issue-5055-2.cabal
blobe81594c8cab496503bd4ae16e8babbae8fd19658
1 name:                issue
2 version:             5055
3 synopsis:            no type in all branches
4 description:         no type in all branches.
5 license:             BSD3
6 category:            Test
7 build-type:          Simple
8 cabal-version:       2.0
10 executable flag-test-exe
11   main-is: FirstMain.hs
12   build-depends: base >= 4.8 && < 5
13   default-language: Haskell2010
15 test-suite flag-cabal-test
16   -- TODO: fix so `type` can be on the top level
17   build-depends:       base >= 4.8 && < 5
18   default-language:    Haskell2010
20   if os(windows)
21     main-is:             FirstMain.hs
22     type:                exitcode-stdio-1.0
23   else:
24     main-is:             SecondMain.hs
25     type:                exitcode-stdio-1.0