diff options
Diffstat (limited to 'testsuite/tests/linear/should_fail/LinearLazyPat.stderr')
-rw-r--r-- | testsuite/tests/linear/should_fail/LinearLazyPat.stderr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_fail/LinearLazyPat.stderr b/testsuite/tests/linear/should_fail/LinearLazyPat.stderr new file mode 100644 index 0000000000..1893d10417 --- /dev/null +++ b/testsuite/tests/linear/should_fail/LinearLazyPat.stderr @@ -0,0 +1,6 @@ + +LinearLazyPat.hs:5:3: error: + • Couldn't match type ‘'Many’ with ‘'One’ + arising from a non-linear pattern + • In the pattern: ~(x, y) + In an equation for ‘f’: f ~(x, y) = (y, x) |