X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftests%2Ftypecheck%2Fshould_succeed%2Ftc003.stderr;fp=ghc%2Fcompiler%2Ftests%2Ftypecheck%2Fshould_succeed%2Ftc003.stderr;h=9bdced1e8a567ea9bf75c68c54def4ae5d70bcb0;hb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;hp=0000000000000000000000000000000000000000;hpb=e48474bff05e6cfb506660420f025f694c870d38;p=ghc-hetmet.git diff --git a/ghc/compiler/tests/typecheck/should_succeed/tc003.stderr b/ghc/compiler/tests/typecheck/should_succeed/tc003.stderr new file mode 100644 index 0000000..9bdced1 --- /dev/null +++ b/ghc/compiler/tests/typecheck/should_succeed/tc003.stderr @@ -0,0 +1,25 @@ +Typechecked: +d.Num.t19 = dfun.Num.Integer +d.Num.t17 = dfun.Num.Integer +fromInt.t16 = fromInt tt14 d.Num.t17 +lit.t15 = fromInt.t16 (MkInt 3#) +fromInt.t18 = fromInt tt12 d.Num.t19 +lit.t13 = fromInt.t18 (MkInt 1#) +fromInt.t20 = fromInt.t16 +lit.t11 = fromInt.t20 (MkInt 2#) +lit.t9 = lit.t13 +AbsBinds +[] +[] +[(c.t3, ShouldSucceed.c), (d.t4, ShouldSucceed.d), (e.t5, ShouldSucceed.e)] + {- nonrec -} + (c.t3@(d.t4, e.t5)) :: (tt12, tt14) + (c.t3@(d.t4, e.t5)) = if True then (lit.t9, lit.t11) else (lit.t13, lit.t15) + +=-=-=-=-=INTERFACE STARTS HERE=-=-=-=-= ShouldSucceed +interface ShouldSucceed where +c :: (tt12, tt14) {-# ARITY _ = 0 #-} +d :: tt12 {-# ARITY _ = 0 #-} +e :: tt14 {-# ARITY _ = 0 #-} +=-=-=-=-=INTERFACE STOPS HERE=-=-=-=-= +