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
/
PreProcessExtraSources
/
Foo.hsc
blob
a0571d6200ddb55b84a1892732f15161f3d0ec98
1
{-# LANGUAGE ForeignFunctionInterface #-}
2
module Foo where
3
4
import Foreign.C.Types
5
6
#def int incr(int x) { return x + 1; }
7
8
foreign import ccall unsafe "Foo_hsc.h incr"
9
incr :: CInt -> CInt