;; -*-theme-d-*-

;; Copyright (C) 2019  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 test747)

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

  (declare my-proc1 (:procedure (<object>) <string> pure))
  
  (declare my-proc2 (:procedure (<object>) <string> pure))

  (define my-proc2 my-proc1)

  (define-simple-proc my-proc1 (((x <object>)) <string> pure)
    "abc")
  
  (define-simple-proc main (() <none> nonpure)
    (console-display-line (my-proc2 10))))
