Add tests for calling readers/writers with invalid argument count
(defclass foo () ((name :reader foo-name))) (foo-name (make-instance 'foo) #'print)
This should signal a
program-error but instead causes a segfault on SBCL 2.1.0 and earlier on default optimization settings. I think that ANSI-TEST could use a few regression tests that cover these cases.
This wasn't caught earlier, e.g. by
CELL-ERROR-NAME.ERROR.2, because conditions are not standard-objects on SBCL.
Discovered by running the Portable Condition System test suite, adapted from ANSI-TEST.