summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T15079_fail_a.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T15079_fail_a.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/T15079_fail_a.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T15079_fail_a.hs b/testsuite/tests/typecheck/should_fail/T15079_fail_a.hs
new file mode 100644
index 0000000000..7cec93872f
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T15079_fail_a.hs
@@ -0,0 +1,9 @@
+module T15079_fail_a where
+
+import Data.Kind (Type)
+
+newtype Foo (f :: forall (a :: Type). a -> Type) = MkFoo (f Int)
+data InferredProxy a = MkInferredProxy
+
+foo :: Foo InferredProxy
+foo = MkFoo MkInferredProxy \ No newline at end of file