summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/T13324_compile.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/partial-sigs/should_compile/T13324_compile.hs')
-rw-r--r--testsuite/tests/partial-sigs/should_compile/T13324_compile.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/partial-sigs/should_compile/T13324_compile.hs b/testsuite/tests/partial-sigs/should_compile/T13324_compile.hs
new file mode 100644
index 0000000000..670744e668
--- /dev/null
+++ b/testsuite/tests/partial-sigs/should_compile/T13324_compile.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE PartialTypeSignatures #-}
+{-# LANGUAGE StandaloneDeriving #-}
+module T13324_compile where
+
+data Option a = None | Some a
+
+deriving instance _ => Show (Option a)