Test #9632 in dependent/should_compile/T9632
authorRichard Eisenberg <eir@cis.upenn.edu>
Mon, 14 Dec 2015 20:59:21 +0000 (15:59 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Mon, 14 Dec 2015 21:00:13 +0000 (16:00 -0500)
testsuite/tests/dependent/should_compile/T9632.hs [new file with mode: 0644]
testsuite/tests/dependent/should_compile/all.T

diff --git a/testsuite/tests/dependent/should_compile/T9632.hs b/testsuite/tests/dependent/should_compile/T9632.hs
new file mode 100644 (file)
index 0000000..bea468f
--- /dev/null
@@ -0,0 +1,11 @@
+{-# LANGUAGE TypeInType #-}
+
+module T9632 where
+
+import Data.Kind
+
+data B = T | F
+data P :: B -> *
+
+type B' = B
+data P' :: B' -> *
index 1724ff6..e1e064a 100644 (file)
@@ -9,3 +9,4 @@ test('KindLevels', normal, compile, [''])
 test('RaeBlogPost', normal, compile, [''])
 test('mkGADTVars', normal, compile, [''])
 test('TypeLevelVec',normal,compile, [''])
+test('T9632', normal, compile, [''])