summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T15073.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T15073.hs')
-rw-r--r--testsuite/tests/deriving/should_fail/T15073.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T15073.hs b/testsuite/tests/deriving/should_fail/T15073.hs
new file mode 100644
index 0000000000..b1da4bb701
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/T15073.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
+{-# LANGUAGE DataKinds, PolyKinds #-}
+module T15073 where
+
+import T15073a
+
+newtype Foo a = MkFoo a
+ deriving P