From fde01f549441eaac81ed7b976764e99634fce8d9 Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones <simonpj@microsoft.com> Date: Mon, 26 May 2014 17:03:23 +0100 Subject: [PATCH] Add missing test file T7269 (cherry picked from commit db869e7521387db0513d1dc2b49641ce32688cdd) --- testsuite/tests/deriving/should_compile/T7269.hs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testsuite/tests/deriving/should_compile/T7269.hs diff --git a/testsuite/tests/deriving/should_compile/T7269.hs b/testsuite/tests/deriving/should_compile/T7269.hs new file mode 100644 index 000000000000..2d7331bebb7e --- /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 -- GitLab