summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadtSyntaxFail003.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/gadt/gadtSyntaxFail003.stderr')
-rw-r--r--testsuite/tests/gadt/gadtSyntaxFail003.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/gadt/gadtSyntaxFail003.stderr b/testsuite/tests/gadt/gadtSyntaxFail003.stderr
new file mode 100644
index 0000000000..436bb76ca2
--- /dev/null
+++ b/testsuite/tests/gadt/gadtSyntaxFail003.stderr
@@ -0,0 +1,6 @@
+
+gadtSyntaxFail003.hs:7:5:
+ Data constructor `C1' has existential type variables, a context, or a specialised result type
+ (Use -XExistentialQuantification or -XGADTs to allow this)
+ In the definition of data constructor `C1'
+ In the data type declaration for `Foo'