;; -*-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 error


(define-proper-program (tests test353)


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

  
  (define-param-proc my-proc (%type) (((o %type)) %type pure)
    (+ o 1))


  (define-simple-proc main (() <none> nonpure)
    (console-display-line (my-proc 'a))))
