diff --git a/ghc/tests/deriving/should_run/drvrun002.hs b/ghc/tests/deriving/should_run/drvrun002.hs
new file mode 100644
index 0000000000000000000000000000000000000000..26497bd32c9fdf9e5910700cb4a0912ea3218793
--- /dev/null
+++ b/ghc/tests/deriving/should_run/drvrun002.hs
@@ -0,0 +1,17 @@
+-- !!! Deriving Show/Read for type with labelled fields.
+--     (based on a Hugs bug report.)
+module Main(main) where
+
+data Options = 
+   Options { s :: OptionKind } 
+   deriving (Show, Read)
+
+data OptionKind = 
+   SpecialOptions { test :: Int }
+   deriving (Show, Read)
+
+x = Options{s=SpecialOptions{test=42}}
+
+main = do
+  print x
+  print ((read (show x))::Options)
diff --git a/ghc/tests/deriving/should_run/drvrun002.stdout b/ghc/tests/deriving/should_run/drvrun002.stdout
new file mode 100644
index 0000000000000000000000000000000000000000..183c2135b6748f33a6fa8df8a9089b510665738d
--- /dev/null
+++ b/ghc/tests/deriving/should_run/drvrun002.stdout
@@ -0,0 +1,2 @@
+Options{s=(SpecialOptions{test=42})}
+Options{s=(SpecialOptions{test=42})}
diff --git a/ghc/tests/deriving/should_run/drvrun003.hs b/ghc/tests/deriving/should_run/drvrun003.hs
new file mode 100644
index 0000000000000000000000000000000000000000..bb7486159e459dc6e19318f892a5b619faf2359a
--- /dev/null
+++ b/ghc/tests/deriving/should_run/drvrun003.hs
@@ -0,0 +1,30 @@
+-- !!! Deriving Show/Read for nullary constructors.
+module Main(main) where
+
+data A = B | C deriving ( Show, Read )
+
+data Opt = N | Y A deriving (Show, Read)
+
+x = Y B
+
+{-
+ If the Haskell report's specification of how Show instances
+ are to be derived is followed to the letter, the code for
+ a nullary constructor would put parens around the constructor
+ when (showsPrec 10) is used. This would cause
+
+      Y A
+
+ to be showed as
+ 
+      Y (A)
+
+ Overkill, so ghc's derived Show code treats nullary
+ constructors specially.
+-}
+
+main = do
+  print x
+  print ((read (show x))::Opt)
+  print ((read "Y (B)")::Opt)
+
diff --git a/ghc/tests/deriving/should_run/drvrun003.stdout b/ghc/tests/deriving/should_run/drvrun003.stdout
new file mode 100644
index 0000000000000000000000000000000000000000..584cfcd5cede85714e9eef7a57c8dfc05f32da53
--- /dev/null
+++ b/ghc/tests/deriving/should_run/drvrun003.stdout
@@ -0,0 +1,3 @@
+Y B
+Y B
+Y B