Add test with or and multiple values from clklein.

svn: r11359
This commit is contained in:
Sam Tobin-Hochstadt 2008-08-20 19:52:13 +00:00
parent 47133090f5
commit 252086b7ff

View File

@ -564,6 +564,13 @@
(comp '(1 2)
(match-let ([(vector a b) (vector 1 2)])
(list a b)))
(comp '(4 5)
(let-values ([(x y)
(match 1
[(or (and x 2) (and x 3) (and x 4)) 3]
[_ (values 4 5)])])
(list x y)))
))