summaryrefslogtreecommitdiff
path: root/ghc/compiler/tests/deSugar/ds008.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/tests/deSugar/ds008.hs')
-rw-r--r--ghc/compiler/tests/deSugar/ds008.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/ghc/compiler/tests/deSugar/ds008.hs b/ghc/compiler/tests/deSugar/ds008.hs
new file mode 100644
index 0000000000..1264d13d8f
--- /dev/null
+++ b/ghc/compiler/tests/deSugar/ds008.hs
@@ -0,0 +1,11 @@
+--!!! ds008 -- free tyvars on RHSs
+--
+-- these tests involve way-cool TyApps
+
+module Test where
+
+f x = []
+
+g x = (f [],[],[],[])
+
+h x = g (1::Int)