diff options
Diffstat (limited to 'testsuite/tests/dependent/should_compile/T12174.hs')
-rw-r--r-- | testsuite/tests/dependent/should_compile/T12174.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/dependent/should_compile/T12174.hs b/testsuite/tests/dependent/should_compile/T12174.hs new file mode 100644 index 0000000000..800759d690 --- /dev/null +++ b/testsuite/tests/dependent/should_compile/T12174.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE PolyKinds #-} +{-# LANGUAGE ExistentialQuantification #-} +{-# LANGUAGE KindSignatures #-} +module T12174 where + +data V a +data T = forall (a :: S). MkT (V a) +data S = forall (a :: T). MkS (V a) |