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
Add test cases that reproduce #7241.
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
BuildDeps
/
TargetSpecificDeps3
/
MyLibrary.hs
blob
52980f5bb7c8e79a3461cf42a27db70d2bf64e1c
1
module
MyLibrary
where
2
3
import qualified
Data
.
ByteString
.
Char8
as
C
4
import
Text
.
PrettyPrint
5
6
myLibFunc
::
IO
()
7
myLibFunc
=
do
8
putStrLn
(
render
(
text
"foo"
))
9
let
text
=
"myLibFunc"
10
C
.
putStrLn
$
C
.
pack text