Add missing T14325.stderr
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 12 Oct 2017 11:45:43 +0000 (12:45 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 12 Oct 2017 11:45:43 +0000 (12:45 +0100)
testsuite/tests/typecheck/should_fail/T14325.stderr [new file with mode: 0644]

diff --git a/testsuite/tests/typecheck/should_fail/T14325.stderr b/testsuite/tests/typecheck/should_fail/T14325.stderr
new file mode 100644 (file)
index 0000000..1508c4a
--- /dev/null
@@ -0,0 +1,9 @@
+
+T14325.hs:11:9: error:
+    • Could not deduce (C b (f b)) arising from a use of ‘foo’
+      from the context: C (f b) b
+        bound by the type signature for:
+                   hm3 :: forall (f :: * -> *) b. C (f b) b => b -> f b
+        at T14325.hs:10:1-28
+    • In the expression: foo x
+      In an equation for ‘hm3’: hm3 x = foo x