diff options
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolySum.stderr')
-rw-r--r-- | testsuite/tests/rep-poly/RepPolySum.stderr | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolySum.stderr b/testsuite/tests/rep-poly/RepPolySum.stderr new file mode 100644 index 0000000000..f4f7bd09fe --- /dev/null +++ b/testsuite/tests/rep-poly/RepPolySum.stderr @@ -0,0 +1,17 @@ + +RepPolySum.hs:11:9: error: + • The unboxed sum result type does not have a fixed runtime representation: + (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) + • In the expression: (# | bar () #) + In an equation for ‘foo’: + foo _ + = (# | bar () #) + where + bar :: () -> a + bar _ = undefined + +RepPolySum.hs:20:9: error: + • The unboxed sum result type does not have a fixed runtime representation: + (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) + • In the expression: (# 17# | #) + In an equation for ‘baz’: baz _ = (# 17# | #) |