Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Karsten Poeck
ansi-test
Commits
9da4814b
Commit
9da4814b
authored
Nov 08, 2010
by
sds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tests for GO to invalid tags
From "Tobias C. Rittweiler" <tcr@freebits.de>
parent
fe330db1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ansi-tests/beyond-ansi/errors-data-and-control-flow-2.lsp
ansi-tests/beyond-ansi/errors-data-and-control-flow-2.lsp
+12
-0
No files found.
ansi-tests/beyond-ansi/errors-data-and-control-flow-2.lsp
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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment