summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc212.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc212.hs')
-rw-r--r--testsuite/tests/typecheck/should_compile/tc212.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc212.hs b/testsuite/tests/typecheck/should_compile/tc212.hs
new file mode 100644
index 0000000000..ad408fbdaf
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/tc212.hs
@@ -0,0 +1,8 @@
+
+-- This one crashed the 6.6 release candidate
+
+module ShouldCompile where
+
+-- A specialise pragma with no type signature
+fac n = fac (n + 1)
+{-# SPECIALISE fac :: Int -> Int #-}