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

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


  (define my-proc (lambda-automatic (((str <string>)) (pure))
				    10))

  (define-simple-proc main (() <none> nonpure)
    (let ((i <integer> (my-proc "abc")))
      (console-display-line i))))

 
