
;; Copyright (C) 2017 Tommi Höynälänmaa

;; Expected results: translation error (unaccessible letrec variable)

(define-proper-program (tests test602)

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

  (define-simple-proc main (() <none> nonpure)
    (letrec ((i1 <integer> i2)
	     (i2 <integer> i1))
      (console-display-line i1))))
