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
e58a98d7
Commit
e58a98d7
authored
18 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
More tests for sbcl related to the COERCE type prop bug
parent
450da113
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
+25
-0
25 additions, 0 deletions
ansi-tests/misc.lsp
with
25 additions
and
0 deletions
ansi-tests/misc.lsp
+
25
−
0
View file @
e58a98d7
...
@@ -11670,3 +11670,28 @@ Broken at C::WT-MAKE-CLOSURE.
...
@@ -11670,3 +11670,28 @@ Broken at C::WT-MAKE-CLOSURE.
(funcall (compile nil form) 'integer))
(funcall (compile nil form) 'integer))
2)
2)
;;; error while parsing arguments to DEFTYPE MOD:
;;; invalid number of elements in
;;; ()
;;; to satisfy lambda list
;;; (SB-KERNEL::N):
;;; exactly 1 expected, but 0 found
(deftest misc.656
(let ((form '(lambda (p2)
(declare (optimize (speed 0) (safety 2) (debug 0) (space 2))
(type (member integer mod) p2))
(coerce 2 p2))))
(funcall (compile nil form) 'integer))
2)
;;; The symbol VALUES is not valid as a type specifier.
(deftest misc.657
(let ((form '(lambda (p2)
(declare (optimize (speed 0) (safety 2) (debug 0) (space 2))
(type (member integer values) p2))
(coerce 2 p2))))
(funcall (compile nil form) 'integer))
2)
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