diff options
Diffstat (limited to 'testsuite/tests/rename/should_fail/T2490.hs')
-rw-r--r-- | testsuite/tests/rename/should_fail/T2490.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_fail/T2490.hs b/testsuite/tests/rename/should_fail/T2490.hs new file mode 100644 index 0000000000..31afc0987a --- /dev/null +++ b/testsuite/tests/rename/should_fail/T2490.hs @@ -0,0 +1,10 @@ +-- Trac #2490 +module ShouldFail where + +-- All these sections are illegal + +f x = [ (`head` x, ()) + , (+ x, ()) + , ((), + x) + , ((), + x, ()) + , ((), x +) ] |