[project @ 1999-09-17 09:09:55 by simonpj]
authorsimonpj <unknown>
Fri, 17 Sep 1999 09:09:55 +0000 (09:09 +0000)
committersimonpj <unknown>
Fri, 17 Sep 1999 09:09:55 +0000 (09:09 +0000)
Add drvrun007, a test that crashed Hugs

ghc/tests/deriving/should_run/drvrun007.hs [new file with mode: 0644]
ghc/tests/deriving/should_run/drvrun007.stdout [new file with mode: 0644]

diff --git a/ghc/tests/deriving/should_run/drvrun007.hs b/ghc/tests/deriving/should_run/drvrun007.hs
new file mode 100644 (file)
index 0000000..5c26c34
--- /dev/null
@@ -0,0 +1,6 @@
+module Main( main ) where
+-- This one crashed Hugs98
+
+data X = X | X :\ X  deriving Show
+
+main = putStrLn (show (X :\ X))
diff --git a/ghc/tests/deriving/should_run/drvrun007.stdout b/ghc/tests/deriving/should_run/drvrun007.stdout
new file mode 100644 (file)
index 0000000..fe13f39
--- /dev/null
@@ -0,0 +1 @@
+X :\ X