[project @ 1997-12-17 11:08:16 by simonm]
authorsimonm <unknown>
Wed, 17 Dec 1997 11:08:16 +0000 (11:08 +0000)
committersimonm <unknown>
Wed, 17 Dec 1997 11:08:16 +0000 (11:08 +0000)
add typechecker bug which we currently don't have a fix for

ghc/tests/typecheck/should_compile/tc094.hs [new file with mode: 0644]

diff --git a/ghc/tests/typecheck/should_compile/tc094.hs b/ghc/tests/typecheck/should_compile/tc094.hs
new file mode 100644 (file)
index 0000000..334c34c
--- /dev/null
@@ -0,0 +1,7 @@
+module ShouldSucceed where
+
+-- From a bug report by Sven Panne.
+
+foo = bar
+   where bar = \_ -> (truncate boing, truncate boing)
+         boing = 0