;; -*-theme-d-*-

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

;; Expected results: translation error (type mismatch)


(define-proper-program (tests test569)


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


  (define-simple-proc main (() <none> nonpure)
    (let ((proc (lambda (((i <integer>)) <integer> pure)
		  (+ i 1))))
      (proc 'abc))))
