;; -*-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 test755)

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

  (declare-mutable gl-i1 <integer>)

  (define-mutable gl-i2 <integer> gl-i1)
  
  (define-mutable gl-i1 <integer> 10)

  (define-simple-proc main (() <none> nonpure)
    (console-display-line gl-i2)))
