diff options
Diffstat (limited to 'testsuite/tests/deriving/should_compile/drv011.hs')
-rw-r--r-- | testsuite/tests/deriving/should_compile/drv011.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_compile/drv011.hs b/testsuite/tests/deriving/should_compile/drv011.hs new file mode 100644 index 0000000000..bba25f5cae --- /dev/null +++ b/testsuite/tests/deriving/should_compile/drv011.hs @@ -0,0 +1,6 @@ +-- !!! deriving Enum, but not Ord. +module ShouldSucceed where + +data ABC = A | B | C deriving Enum + +x = [A ..C] |