diff --git a/testsuite/tests/typecheck/should_compile/T10177.hs b/testsuite/tests/typecheck/should_compile/T10177.hs
new file mode 100644
index 0000000000000000000000000000000000000000..fd84396f676e07695ffbdfa907152c05c47fdfc2
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/T10177.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE PolyKinds #-}
+{-# LANGUAGE FlexibleContexts #-}
+module T10177 where
+
+import Data.Typeable
+
+newtype V n a = V [a]
+
+class    Typeable a                   => C a
+instance (Typeable (V n), Typeable a) => C (V n a)
diff --git a/testsuite/tests/typecheck/should_compile/all.T b/testsuite/tests/typecheck/should_compile/all.T
index 87d217ffb72e4cb3e42c45f50cb1fd0bbe1ca9a4..258aa7fdea963ca530f74eaaa012cc0a873513f0 100644
--- a/testsuite/tests/typecheck/should_compile/all.T
+++ b/testsuite/tests/typecheck/should_compile/all.T
@@ -440,3 +440,4 @@ test('T9892', normal, compile, [''])
 test('T9971', normal, compile, [''])
 test('T10031', normal, compile, [''])
 test('T10072', normal, compile_fail, [''])
+test('T10177', normal, compile, [''])