diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-10-26 12:31:55 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-10-26 12:31:55 +0100 |
commit | 043fddf158aa731c76fd72ed05ea56b739a002bd (patch) | |
tree | 30e988421b580d747064f265506af4a3d732aa74 /testsuite/tests/polykinds/T7328.hs | |
parent | 126c798418bf9025bde6585e2008102d9c273978 (diff) | |
download | haskell-043fddf158aa731c76fd72ed05ea56b739a002bd.tar.gz |
Test Trac #7328 and #7332
Diffstat (limited to 'testsuite/tests/polykinds/T7328.hs')
-rw-r--r-- | testsuite/tests/polykinds/T7328.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T7328.hs b/testsuite/tests/polykinds/T7328.hs new file mode 100644 index 0000000000..3e51875508 --- /dev/null +++ b/testsuite/tests/polykinds/T7328.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE PolyKinds, GADTs #-} + +module T7328 where + +data Proxy a + +class Foo a where + foo :: a ~ f i => Proxy (Foo f) |