;; -*-theme-d-*-

;; Copyright (C) 2016 Tommi Höynälänmaa
;; Distributed under GNU General Public License version 3,
;; see file doc/GPL-3.

;; Expected results: compilation OK


(define-body (tests test398)

  (import (standard-library console-io))

  (define-goops-class <a2> <a> <object>
    #t #f #f #t ()
    eqv? eqv?)

  (define make-a2
    (prim-proc make-a (<object>) <a2> (pure)))

  (define-simple-proc my-proc (() <none> nonpure)
    (console-display-line (make-a2 1))))

