[project @ 2001-08-08 13:22:27 by simonmar]
authorsimonmar <unknown>
Wed, 8 Aug 2001 13:22:27 +0000 (13:22 +0000)
committersimonmar <unknown>
Wed, 8 Aug 2001 13:22:27 +0000 (13:22 +0000)
lib specifications aren't allowed any more

[ merge into new test suite ]

ghc/tests/ccall/should_compile/cc004.hs

index c67c9da..a4051b5 100644 (file)
@@ -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