;; -*-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 and running OK

(define-proper-program (tests test738)

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

  (define <symbol-hash-table> (:hash-table <symbol> <object>))
  
  (define-class <environment> <object> #t #f #f public ()
    ((toplevel? <boolean> public public)
     (env-parent (:maybe <environment>) public public)
     (ht (:maybe <symbol-hash-table>) public public)
     (al (:alist <symbol> <object>) public public)))

  (define-class <pure-proc-env> <environment> #t #f #f public ()
    ())

  (define-simple-proc main (() <none> nonpure)
    (let ((x (make <pure-proc-env> #t null null null)))
      (console-display-line x))))
