diff --git a/testsuite/tests/deriving/should_compile/T7269.hs b/testsuite/tests/deriving/should_compile/T7269.hs
new file mode 100644
index 0000000000000000000000000000000000000000..2d7331bebb7e0c2b29f594a38fc9e0afca5a93bf
--- /dev/null
+++ b/testsuite/tests/deriving/should_compile/T7269.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE PolyKinds #-}
+{-# LANGUAGE MultiParamTypeClasses, StandaloneDeriving, GeneralizedNewtypeDeriving #-}
+
+module T7269 where
+
+class C (a :: k)
+
+instance C Int
+
+newtype MyInt = MyInt Int deriving C
+
+newtype YourInt = YourInt Int
+deriving instance C YourInt