summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ffi/should_compile/cc012.hs
blob: 288f9acd02cac49055f7e8349e015877e98281ca (plain)
1
2
3
4
5
6
{-# LANGUAGE ForeignFunctionInterface #-}
-- !!! test that infix operators can be exported with foreign export,
-- and that we can export something which isn't defined in this module.
module ShouldCompile where
foreign export ccall "plusInt" (+) :: Int -> Int -> Int