diff options
author | David Terei <davidterei@gmail.com> | 2011-07-20 11:09:03 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-07-20 11:26:35 -0700 |
commit | 16514f272fb42af6e9c7674a9bd6c9dce369231f (patch) | |
tree | e4f332b45fe65e2a7a2451be5674f887b42bf199 /testsuite/tests/ghci.debugger/Test.hs | |
parent | ebd422aed41048476aa61dd4c520d43becd78682 (diff) | |
download | haskell-16514f272fb42af6e9c7674a9bd6c9dce369231f.tar.gz |
Move tests from tests/ghc-regress/* to just tests/*
Diffstat (limited to 'testsuite/tests/ghci.debugger/Test.hs')
-rw-r--r-- | testsuite/tests/ghci.debugger/Test.hs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/Test.hs b/testsuite/tests/ghci.debugger/Test.hs new file mode 100644 index 0000000000..f0477afc3b --- /dev/null +++ b/testsuite/tests/ghci.debugger/Test.hs @@ -0,0 +1,40 @@ +module Test.Test2 where
+import Data.Typeable
+
+data Show1 = S1 Char Char Char
+ deriving Typeable
+
+data Strict = S2 Char !Char
+
+data Opaque = forall a. O a
+data List1 a = Nil | a :^ (List1 a)
+ deriving Show
+
+newtype MyInt = My Int
+ deriving (Eq,Show,Num, Enum)
+
+newtype MkT a = MkT a
+ deriving (Show)
+
+newtype MkT2 a = MkT2 (MkT a)
+ deriving Show
+
+data Param2 s r = P2 (FakeSTRef r (s(Param2 s r)))
+ | P2Nil
+data FakeSTRef r s = Ref s
+
+testParam2 = O (P2 (Ref P2Nil))
+
+infixr 5 :^
+--test T{t=t1} = undefined
+
+instance Show Show1 where
+ show (S1 a b c) = show (a)
+
+type Just1 = Maybe
+
+
+data Unary = Unary deriving Show
+
+poly :: a -> ()
+poly x = seq x ()
\ No newline at end of file |