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


(define-proper-program (tests test447)


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


  (define-simple-proc myproc (() <integer> pure)
    (set! gl-i (+ gl-i 1))
    gl-i)


  (define-simple-proc main (() <none> nonpure)
    (console-display-line (myproc))
    (console-display-line (myproc))))
