[commit: ghc] master: Add missing test file T7269 (db869e7)

git at git.haskell.org git at git.haskell.org
Mon May 26 16:03:41 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/db869e7521387db0513d1dc2b49641ce32688cdd/ghc

>---------------------------------------------------------------

commit db869e7521387db0513d1dc2b49641ce32688cdd
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon May 26 17:03:23 2014 +0100

    Add missing test file T7269


>---------------------------------------------------------------

db869e7521387db0513d1dc2b49641ce32688cdd
 testsuite/tests/deriving/should_compile/T7269.hs | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/testsuite/tests/deriving/should_compile/T7269.hs b/testsuite/tests/deriving/should_compile/T7269.hs
new file mode 100644
index 0000000..2d7331b
--- /dev/null
+++ b/testsuite/tests/deriving/should_compile/T7269.hs
@@ -0,0 +1,13 @@
+{-# LANGUAGE PolyKinds #-}
+{-# LANGUAGE MultiParamTypeClasses, StandaloneDeriving, GeneralizedNewtypeDeriving #-}
+
+module T7269 where
+
+class C (a :: k)
+
+instance C Int
+
+newtype MyInt = MyInt Int deriving C
+
+newtype YourInt = YourInt Int
+deriving instance C YourInt



More information about the ghc-commits mailing list