summaryrefslogtreecommitdiffstats
path: root/t/t4018/scheme-user-defined-define
blob: 35fe7cc9bf6c8e1acfd4804af7163c6a7643d173 (plain)
1
2
3
4
5
6
(define-test-suite record\ case-tests RIGHT
  (record-case-1 (lambda (fail)
                   (let ((a (make-foo 1 2)))
                     (record-case a
                       ((bar x) (ChangeMe))
                       ((foo a b) (+ a b)))))))