;; -*-theme-d-*-

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

;; Expected results: translation error

(define-proper-program (tests test712)

  (import (standard-library core)
	  (standard-library console-io))

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

  (define make-a
    (prim-proc make-a (<integer>) <a> pure))

  (define-class <myclass> <a> #t #f #t public ()
    ())
  
  (prevent-stripping <a>)

  (define-simple-proc main (() <none> nonpure)
    (let ((a (make-a 10)))
      (console-display-line a))))
