diff --git a/testsuite/tests/dependent/should_compile/T16347.hs b/testsuite/tests/dependent/should_compile/T16347.hs
new file mode 100644
index 0000000000000000000000000000000000000000..8f4afbace052ed8def66da5d165297135196999b
--- /dev/null
+++ b/testsuite/tests/dependent/should_compile/T16347.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GADTs      #-}
+{-# LANGUAGE TypeInType #-}
+module T16347 where
+
+import Data.Kind
+
+data T f :: f Type -> Type where
+  MkT :: T f a
diff --git a/testsuite/tests/dependent/should_compile/all.T b/testsuite/tests/dependent/should_compile/all.T
index 4e162aed69bfe08e7a74e5036c4392447b4707d7..60f8b7609dd6af3998e31f857c81296d2cf1b058 100644
--- a/testsuite/tests/dependent/should_compile/all.T
+++ b/testsuite/tests/dependent/should_compile/all.T
@@ -69,4 +69,4 @@ test('T16326_Compile1', normal, compile, [''])
 test('T16326_Compile2', normal, compile, [''])
 test('T16391a', normal, compile, [''])
 test('T16344b', normal, compile, [''])
-
+test('T16347', normal, compile, [''])