projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
ccall
/
cc003.hs
diff --git a/ghc/compiler/tests/ccall/cc003.hs
b/ghc/compiler/tests/ccall/cc003.hs
new file mode 100644
(file)
index 0000000..
5b8bd82
--- /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)