Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ansi-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michał Herda
ansi-test
Commits
917e96c8
Commit
917e96c8
authored
20 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
Two new ecl tests related to multiple-value-setq
parent
0c3f1267
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansi-tests/misc.lsp
+38
-0
38 additions, 0 deletions
ansi-tests/misc.lsp
with
38 additions
and
0 deletions
ansi-tests/misc.lsp
+
38
−
0
View file @
917e96c8
...
...
@@ -7362,3 +7362,41 @@ Broken at C::WT-C-INLINE-LOC.
(funcall
(compile nil '(lambda () (block b1 (catch 'ct1 (throw 'ct1 (return-from b1 0))))))))
0)
;;; ecl (cvs head, 13 June 2004)
;;; Problems with multiple-value-setq
; NIL cannot be coerced to a C int.
(deftest misc.388
(funcall
(compile
nil
'(lambda (a b c)
(declare (type (integer 200077 60836768) a))
(declare (type (integer 339831915 371006999) b))
(declare (type (integer -13 5553) c))
(declare (ignorable a b c))
(declare (optimize (speed 2) (space 1) (safety 0) (debug 0)
(compilation-speed 0)))
(dotimes (iv4 2 0) (multiple-value-setq (c) 4212))))
8959928 366395687 5048)
0)
;;; wrong return value
(deftest misc.389
(funcall
(compile
nil
'(lambda (a b c)
(declare (type (integer -49972981888 -48068810368) a))
(declare (type (integer -452283089 -27620701) b))
(declare (type (integer -24815 15089) c))
(declare (ignorable a b c))
(declare (optimize (speed 2) (space 1) (safety 2) (debug 1)
(compilation-speed 0)))
(multiple-value-setq (c) 8015)))
-49966124671 -68547159 12944)
8015)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment