diff options
Diffstat (limited to 'testsuite/tests/linear/should_fail/Linear1.stderr')
-rw-r--r-- | testsuite/tests/linear/should_fail/Linear1.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_fail/Linear1.stderr b/testsuite/tests/linear/should_fail/Linear1.stderr new file mode 100644 index 0000000000..c549d75be3 --- /dev/null +++ b/testsuite/tests/linear/should_fail/Linear1.stderr @@ -0,0 +1,10 @@ + +Linear1.hs:10:14: error: + • Couldn't match type ‘'Many’ with ‘'One’ + arising from multiplicity of ‘x’ + • In an equation for ‘incorrectDup’: incorrectDup x = (x, x) + +Linear1.hs:14:15: error: + • Couldn't match type ‘'Many’ with ‘'One’ + arising from multiplicity of ‘x’ + • In an equation for ‘incorrectDrop’: incorrectDrop x = () |