;; -*-theme-d-*-

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

;; Expected results: translation error because of declaration
;;   immutability mismatch


(define-proper-program (tests test88)


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


  (declare-mutable a <integer>)


  (define a <integer> 10)


  (define-simple-proc main (() <none> nonpure)
    (console-display a)
    (console-newline)))
