summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile/drv008.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/deriving/should_compile/drv008.hs')
-rw-r--r--testsuite/tests/deriving/should_compile/drv008.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_compile/drv008.hs b/testsuite/tests/deriving/should_compile/drv008.hs
new file mode 100644
index 0000000000..b615809caa
--- /dev/null
+++ b/testsuite/tests/deriving/should_compile/drv008.hs
@@ -0,0 +1,7 @@
+-- !!! deriving Ix on d. type with nullary constructors
+module ShouldSucceed where
+
+import Data.Ix
+
+data AD = A | B | C | D deriving (Show, Ord, Eq, Ix)
+