summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/gadt/gadtSyntaxFail002.stderr
blob: c8bdbab224dd75bfbe9c867d7f5b2f6c98ded89f (plain)
1
2
3
4
5
6

gadtSyntaxFail002.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'