diff options
Diffstat (limited to 'testsuite/tests/dependent/should_fail/DepFail1.hs')
-rw-r--r-- | testsuite/tests/dependent/should_fail/DepFail1.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/dependent/should_fail/DepFail1.hs b/testsuite/tests/dependent/should_fail/DepFail1.hs new file mode 100644 index 0000000000..425a8159c4 --- /dev/null +++ b/testsuite/tests/dependent/should_fail/DepFail1.hs @@ -0,0 +1,11 @@ +{-# LANGUAGE TypeInType #-} + +module DepFail1 where + +data Proxy k (a :: k) = P + +z :: Proxy Bool +z = P + +a :: Proxy Int Bool +a = P |