;; -*-theme-d-*-

;; Copyright (C) 2008-2013 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 test93)


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


  (define-mutable called? <boolean> #f)


  (define-param-proc proc (%type) (((obj %type)) <none> nonpure)
    (set! called? #t))


  (define-simple-proc main (() <none> nonpure)
    (proc 1)
    (console-display called?)
    (console-newline)))
