diff options
Diffstat (limited to 'testsuite/tests/simplCore/should_compile/T22781.stderr')
-rw-r--r-- | testsuite/tests/simplCore/should_compile/T22781.stderr | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/testsuite/tests/simplCore/should_compile/T22781.stderr b/testsuite/tests/simplCore/should_compile/T22781.stderr new file mode 100644 index 0000000000..4c813ccc3c --- /dev/null +++ b/testsuite/tests/simplCore/should_compile/T22781.stderr @@ -0,0 +1,56 @@ + +==================== Specialise ==================== +Result size of Specialise + = {terms: 37, types: 10, coercions: 0, joins: 0/0} + +Rec { +go + = \ ds ds -> + case ds of ds { + __DEFAULT -> + case ds of ds { + __DEFAULT -> go ds (-# ds 1#); + 0# -> 3# + }; + 0# -> + case ds of ds { + __DEFAULT -> go 0# (-# ds 1#); + 0# -> 3#; + 1# -> 1# + } + } +end Rec } + +bar = case go 0# 1# of ds { __DEFAULT -> I# ds } + + + + +==================== SpecConstr ==================== +Result size of SpecConstr + = {terms: 40, types: 13, coercions: 0, joins: 0/0} + +Rec { +$sgo = \ void -> 1# + +go + = \ ds ds -> + case ds of ds { + __DEFAULT -> + case ds of ds { + __DEFAULT -> go ds (-# ds 1#); + 0# -> 3# + }; + 0# -> + case ds of ds { + __DEFAULT -> go 0# (-# ds 1#); + 0# -> 3#; + 1# -> 1# + } + } +end Rec } + +bar = case go 0# 1# of ds { __DEFAULT -> I# ds } + + + |