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
9da4814b
Commit
9da4814b
authored
14 years ago
by
sds
Browse files
Options
Downloads
Patches
Plain Diff
add tests for GO to invalid tags
From "Tobias C. Rittweiler" <tcr@freebits.de>
parent
fe330db1
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/beyond-ansi/errors-data-and-control-flow-2.lsp
+12
-0
12 additions, 0 deletions
ansi-tests/beyond-ansi/errors-data-and-control-flow-2.lsp
with
12 additions
and
0 deletions
ansi-tests/beyond-ansi/errors-data-and-control-flow-2.lsp
+
12
−
0
View file @
9da4814b
...
...
@@ -184,6 +184,18 @@
(def-error-test go.4 (tagbody (go done . foo) done))
(def-error-test go.5 (tagbody (go done foo) done))
;; try to use GO on tag outside of dynamic-extent of TAGBODY
(def-error-test go.6
(let ((f nil))
(tagbody (setf f (lambda () (go foo))) foo)
(funcall f)))
(def-error-test go.7
(funcall (block nil
(tagbody
(return (lambda () (go :foo)))
:foo (return 42)))))
;;; RETURN-FROM
(def-error-test return-from.1 (return-from))
...
...
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