summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T7645.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2013-02-14 17:42:28 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2013-02-14 17:42:28 +0000
commitfc58f9b45b0a4ddd881b75e138c0928f637d39dc (patch)
treee17acf5f462991b83f52b2ef8ccbef351d0f047d /testsuite/tests/typecheck/should_fail/T7645.hs
parenta5e761baa3094d1774e7da1a1fd3db825a09d269 (diff)
downloadhaskell-fc58f9b45b0a4ddd881b75e138c0928f637d39dc.tar.gz
Test Trac #7645
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T7645.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/T7645.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T7645.hs b/testsuite/tests/typecheck/should_fail/T7645.hs
new file mode 100644
index 0000000000..db086c8e61
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T7645.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TypeOperators, KindSignatures #-}
+module T7645 where
+
+data (+) a b = P
+
+f :: ((+) a (a :: *), Maybe)
+f = undefined
+