From f3df67e203d7679f90db2a3d806651c7aa4c0fdc Mon Sep 17 00:00:00 2001 From: Daniel Kraft Date: Thu, 30 Jul 2009 13:51:45 +0200 Subject: without-void-checks as new extension for fine-control * module/language/elisp/README: Document it. * module/language/elisp/compile-tree-il.scm: Handle without-void-checks. * test-suite/tests/elisp-compiler.test: Test it. --- test-suite/tests/elisp-compiler.test | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test-suite/tests/elisp-compiler.test') diff --git a/test-suite/tests/elisp-compiler.test b/test-suite/tests/elisp-compiler.test index 1eed4502e..7d77c3b8d 100644 --- a/test-suite/tests/elisp-compiler.test +++ b/test-suite/tests/elisp-compiler.test @@ -241,7 +241,10 @@ #:opts '(#:disable-void-check all)) (pass-if "disabled void check (symbol list)" (progn (makunbound 'a) a t) - #:opts '(#:disable-void-check (x y a b)))) + #:opts '(#:disable-void-check (x y a b))) + (pass-if "without-void-checks" + (progn (makunbound 'a) + (= (without-void-checks (a) a 5) 5)))) (with-test-prefix/compile "Let and Let*" -- cgit v1.2.3