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