diff options
author | simonmar <unknown> | 2001-08-08 13:22:27 +0000 |
---|---|---|
committer | simonmar <unknown> | 2001-08-08 13:22:27 +0000 |
commit | f15815415ae6ec7b7ad25e36acc7f6707a499e9c (patch) | |
tree | 97f551f7b677695fc85012a529dcf9a1f8518650 /ghc/tests | |
parent | 35900d2eb2ca535a0304144b0a8fbb8dfb4c79cc (diff) | |
download | haskell-f15815415ae6ec7b7ad25e36acc7f6707a499e9c.tar.gz |
[project @ 2001-08-08 13:22:27 by simonmar]
lib specifications aren't allowed any more
[ merge into new test suite ]
Diffstat (limited to 'ghc/tests')
-rw-r--r-- | ghc/tests/ccall/should_compile/cc004.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/tests/ccall/should_compile/cc004.hs b/ghc/tests/ccall/should_compile/cc004.hs index c67c9dac9c..a4051b52b6 100644 --- a/ghc/tests/ccall/should_compile/cc004.hs +++ b/ghc/tests/ccall/should_compile/cc004.hs @@ -11,8 +11,8 @@ import Word foreign import stdcall "m" m_stdcall :: StablePtr a -> IO (StablePtr b) foreign import ccall "m" unsafe m_ccall :: ByteArray Int -> IO Int -foreign import stdcall "Math" "sin" my_sin :: Double -> IO Double -foreign import stdcall "Math" "cos" my_cos :: Double -> IO Double +foreign import stdcall "sin" my_sin :: Double -> IO Double +foreign import stdcall "cos" my_cos :: Double -> IO Double foreign import stdcall "m1" m8 :: IO Int8 foreign import stdcall "m2" m16 :: IO Int16 |