diff options
Diffstat (limited to 'testsuite/tests/safeHaskell/ghci/p16.stderr')
-rw-r--r-- | testsuite/tests/safeHaskell/ghci/p16.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/tests/safeHaskell/ghci/p16.stderr b/testsuite/tests/safeHaskell/ghci/p16.stderr new file mode 100644 index 0000000000..77d3b1bed1 --- /dev/null +++ b/testsuite/tests/safeHaskell/ghci/p16.stderr @@ -0,0 +1,15 @@ + +<no location info>: Warning: + -XGeneralizedNewtypeDeriving is not allowed in Safe Haskell; ignoring -XGeneralizedNewtypeDeriving + +<interactive>:16:29: + Can't make a derived instance of ‛Op T2’: + ‛Op’ is not a derivable class + Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension + In the newtype declaration for ‛T2’ + +<interactive>:19:9: + Not in scope: data constructor ‛T2’ + Perhaps you meant ‛T1’ (line 13) + +<interactive>:22:4: Not in scope: ‛y’ |