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
2d686cbb
Commit
2d686cbb
authored
18 years ago
by
pfdietz
Browse files
Options
Downloads
Patches
Plain Diff
New sbcl bug, in CHAR
parent
21603dc6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansi-tests/misc.lsp
+23
-0
23 additions, 0 deletions
ansi-tests/misc.lsp
with
23 additions
and
0 deletions
ansi-tests/misc.lsp
+
23
−
0
View file @
2d686cbb
...
...
@@ -11316,3 +11316,26 @@ Broken at C::WT-MAKE-CLOSURE.
:bad2))
:good)
:good)
;;; full call to SB-KERNEL:DATA-VECTOR-REF
(deftest misc.638
(let* ((codes '(32779 60674 33150 60033 41146 23916 28908 58886 12776 21282 37346 25537 56184
40736 4845 41954 6663 44378 23466 46903 13661 36445 18784 6114 6266))
(chars (loop for code in codes collect (or (code-char code) #\x)))
(c (elt chars 21))
(s (make-array '(25) :element-type 'character
:initial-contents chars)))
(let ((form `(lambda (p1)
(declare (optimize (speed 2) (safety 0) (debug 3) (space 1))
(type (simple-string 25) p1))
(char
(the
(member ,(let ((s2 "abbbabbaaabbaba"))
(make-array (length s2) :element-type 'base-char
:initial-contents s2))
,s)
p1)
21))))
(not (not (eql c (funcall (compile nil form) s))))))
t)
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