summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/RepPolyDoBody2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rep-poly/RepPolyDoBody2.stderr')
-rw-r--r--testsuite/tests/rep-poly/RepPolyDoBody2.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/rep-poly/RepPolyDoBody2.stderr b/testsuite/tests/rep-poly/RepPolyDoBody2.stderr
new file mode 100644
index 0000000000..0154f2105e
--- /dev/null
+++ b/testsuite/tests/rep-poly/RepPolyDoBody2.stderr
@@ -0,0 +1,14 @@
+
+RepPolyDoBody2.hs:23:3: error:
+ • The second argument to (>>),
+ arising from the ‘do’ statement,
+ does not have a fixed runtime representation:
+ mb0 :: TYPE rep
+ • In a stmt of a 'do' block: undefined :: ()
+ In the expression:
+ do undefined :: ()
+ return ()
+ In an equation for ‘foo’:
+ foo _
+ = do undefined :: ()
+ return ()