summaryrefslogtreecommitdiff
path: root/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr')
-rw-r--r--testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr
new file mode 100644
index 0000000000..7c9b856677
--- /dev/null
+++ b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr
@@ -0,0 +1,7 @@
+
+UnlDataNullaryPoly.hs:10:10: error:
+ • Quantified type's kind mentions quantified type variable
+ type: ‘forall (l :: Levity). T’
+ where the body of the forall has this kind: ‘TYPE ('BoxedRep l)’
+ • In the definition of data constructor ‘MkT’
+ In the data type declaration for ‘T’