X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-introspect%2Fxref-test-data.lisp;h=a23c328493623bcdfbcfd43526125e4a1358c527;hb=ae09f8fd7765f6cab6ad317a13e27ff22ab0c11e;hp=f5298391e08c29b16dded8a19755752770a09c37;hpb=cb83aa22932bf4b9bc74ac6f0fcd91db1702ad33;p=sbcl.git diff --git a/contrib/sb-introspect/xref-test-data.lisp b/contrib/sb-introspect/xref-test-data.lisp index f529839..a23c328 100644 --- a/contrib/sb-introspect/xref-test-data.lisp +++ b/contrib/sb-introspect/xref-test-data.lisp @@ -102,6 +102,13 @@ ;; Doesn't count as calling xref/3, or referring to +z+ / *a* (inline/1)))) +;; last node of block should also be taken into account +(defun xref/13 (x) + (setf *a* x)) + +(defun xref/14 () + *a*) + ;; calling a function in a macro body (defmacro macro/1 () (when nil