repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(cabal check) Add "No internal name clash" test
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
DuplicateModuleName
/
src
/
Foo.hs
blob
a964bac52036fd9a480fa4196935b5fdeda3da9a
1
module
Foo
where
2
3
import
Distribution
.
TestSuite
4
5
tests
::
IO
[
Test
]
6
tests
=
return
[
Test
$
TestInstance
7
{
run
=
return
(
Finished
(
Fail
"A"
))
8
,
name
=
"test A"
9
,
tags
= []
10
,
options
= []
11
,
setOption
= \
_ _
->
Left
"No Options"
12
}]