1 2 3 4 5 6 7 8 9
{-# LANGUAGE ForeignFunctionInterface #-} module Main where foreign import ccall "global.h printx" c_printx :: IO () main = do c_printx