[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / compiler / tests / deriving / drv006.hs
diff --git a/ghc/compiler/tests/deriving/drv006.hs b/ghc/compiler/tests/deriving/drv006.hs
new file mode 100644 (file)
index 0000000..a6d6d1c
--- /dev/null
@@ -0,0 +1,6 @@
+--!!! simple examples of deriving Ix
+--
+data Foo = Foo1 | Foo2 | Foo3 | Foo4 | Foo5 | Foo6 | Foo7 | Foo8
+        deriving Ix
+
+data Bar a b = MkBar a Int b Integer a