[commit: ghc] ghc-7.8: Add missing test file T7269 (fde01f5)
git at git.haskell.org
git at git.haskell.org
Wed Jul 2 18:27:53 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/fde01f549441eaac81ed7b976764e99634fce8d9/ghc
>---------------------------------------------------------------
commit fde01f549441eaac81ed7b976764e99634fce8d9
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Mon May 26 17:03:23 2014 +0100
Add missing test file T7269
(cherry picked from commit db869e7521387db0513d1dc2b49641ce32688cdd)
>---------------------------------------------------------------
fde01f549441eaac81ed7b976764e99634fce8d9
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