diff options
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T2394.hs')
-rw-r--r-- | testsuite/tests/deriving/should_fail/T2394.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T2394.hs b/testsuite/tests/deriving/should_fail/T2394.hs new file mode 100644 index 0000000000..6e62bc364e --- /dev/null +++ b/testsuite/tests/deriving/should_fail/T2394.hs @@ -0,0 +1,9 @@ +{-# OPTIONS_GHC -XDeriveDataTypeable -XStandaloneDeriving #-} + +-- Test Trac #2394 + +module Foo where + +import Data.Data(Data) + +deriving instance (Data a,Data b) => Data (a->b) |