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