;; -*-theme-d-*-

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

;; Expected results: error (type mismatch)


(define-proper-program (tests test634)

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

  (define-simple-proc main (() <none> nonpure)
    (let* ((v1 (make-mutable-vector <integer> 5 1))
	   (v2 (cast-vector <real> v1)))
    (console-display-line (vector-ref v2 1)))))
