summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/deriving/should_fail/T2394.hs
blob: 6e62bc364ed9d865ad597f9f334e73d9cfe52205 (plain)
1
2
3
4
5
6
7
8
9
{-# OPTIONS_GHC -XDeriveDataTypeable -XStandaloneDeriving #-}

-- Test Trac #2394

module Foo where

import Data.Data(Data)

deriving instance (Data a,Data b) => Data (a->b)