test for optimizer lifting with unused rest arg
svn: r5793
This commit is contained in:
parent
3abc1bdfa4
commit
cbe41955f1
|
@ -459,6 +459,16 @@
|
|||
(set! i 10))
|
||||
(err/rt-test (dynamic-require 'bad-order #f))
|
||||
|
||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
;; Check lifting of a function with only an unused rest arg:
|
||||
|
||||
(test 1 'continue
|
||||
(let/ec foo
|
||||
(let ([continue (lambda extras
|
||||
(foo 1))])
|
||||
(+ 1 (continue)))))
|
||||
|
||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; call-with-values optimization
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user