summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T14365B.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_fail/T14365B.hs-boot')
-rw-r--r--testsuite/tests/deriving/should_fail/T14365B.hs-boot7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/T14365B.hs-boot b/testsuite/tests/deriving/should_fail/T14365B.hs-boot
new file mode 100644
index 0000000000..1dcbc9494c
--- /dev/null
+++ b/testsuite/tests/deriving/should_fail/T14365B.hs-boot
@@ -0,0 +1,7 @@
+{-# LANGUAGE StandaloneDeriving #-}
+module T14365B where
+
+data Foo a
+ deriving (Functor)
+
+deriving instance Foldable Foo