;; -*-theme-d-*-

;; Copyright (C) 2015 Tommi Höynälänmaa
;; Distributed under GNU General Public License version 3,
;; see file doc/GPL-3.

;; Expected results: translation and running OK
;;   Procedure my-proc has to be present in the linker output.

(define-proper-program (tests test335)


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


  (define-simple-proc my-proc (((i <integer>)) <integer> pure)
    (+ i 2))

  (prevent-stripping my-proc)

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