diff options
author | partain <unknown> | 1996-01-08 20:28:12 +0000 |
---|---|---|
committer | partain <unknown> | 1996-01-08 20:28:12 +0000 |
commit | e7d21ee4f8ac907665a7e170c71d59e13a01da09 (patch) | |
tree | 93715bf4e6e4bbe8049e4d8d4d3fbd19158a88d6 /ghc/compiler/tests/ccall/cc003.hs | |
parent | e48474bff05e6cfb506660420f025f694c870d38 (diff) | |
download | haskell-e7d21ee4f8ac907665a7e170c71d59e13a01da09.tar.gz |
[project @ 1996-01-08 20:28:12 by partain]
Initial revision
Diffstat (limited to 'ghc/compiler/tests/ccall/cc003.hs')
-rw-r--r-- | ghc/compiler/tests/ccall/cc003.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ghc/compiler/tests/ccall/cc003.hs b/ghc/compiler/tests/ccall/cc003.hs new file mode 100644 index 0000000000..5b8bd822e2 --- /dev/null +++ b/ghc/compiler/tests/ccall/cc003.hs @@ -0,0 +1,8 @@ +--!!! cc003 -- ccall with unresolved polymorphism (should fail) +module Test where + +import PreludeGlaIO + +fubar :: PrimIO Int +fubar = ccall f `seqPrimIO` ccall b + --^ result type of f "lost" (never gets generalised) |