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
Merge pull request #10525 from 9999years/field-stanza-names
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
CCompilerOverride
/
Main.hs
blob
e84a83f669b3bdfebfb81ed4a8fb32eda77dd445
1
{-# LANGUAGE ForeignFunctionInterface #-}
2
3
module
Main
(
main
)
where
4
5
foreign import
ccall
"foo"
foo
::
Int
->
Int
6
7
main
::
IO
()
8
main
=
do
9
let
x
=
foo
0
10
y
=
x
11
let
x
=
y
12
print
x
13
pure
()