diff options
Diffstat (limited to 'testsuite/tests/deriving/should_run/T4136.hs')
-rw-r--r-- | testsuite/tests/deriving/should_run/T4136.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_run/T4136.hs b/testsuite/tests/deriving/should_run/T4136.hs new file mode 100644 index 0000000000..d47014bdb0 --- /dev/null +++ b/testsuite/tests/deriving/should_run/T4136.hs @@ -0,0 +1,9 @@ +module Main where
+
+data T = (:=:) {- | (:!=:) -} deriving (Show,Read)
+
+main
+ = do putStrLn ("show (:=:) = " ++ show (:=:))
+ putStrLn ("read (show (:=:)) :: T = " ++
+ show (read (show (:=:)) :: T))
+
|