Skip to content

Commit 9704120

Browse files
committed
More occurs tests
Signed-off-by: Edward Z. Yang <[email protected]>
1 parent fd0717e commit 9704120

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

should_fail/occurs2.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f (x:xs) = \b -> if b then x else xs

should_fail/occurs3.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f x = (x, f x)

0 commit comments

Comments
 (0)