;; -*-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 test714)

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

  (define-class <myclass1> <object> #f #f #f public ()
    ((x1 <integer> public public)))

  (define-param-class :myclass2 (%type) <myclass1> #t #f #t public ()
    ((x %type public public)))
  
  (define-simple-proc main (() <none> nonpure)
    (let ((a (make (:myclass2 <symbol>) 10 'abc)))
      (console-display-line a))))
