show correct number of arguments for arg-count error frames
[sbcl.git] / tests / debug.impure.lisp
index 4d02466..208cbe8 100644 (file)
 (defun oops ()
   (error "oops"))
 
+(with-test (:name :xep-too-many-arguments)
+  (assert (verify-backtrace (lambda () (oops 1 2 3 4 5 6))
+                            '((oops ? ? ? ? ? ?)))))
+
 (defmacro defbt (n ll &body body)
   `(progn
      ;; normal debug info