;; -*-theme-*-

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

;; Expected results: error (corrupted vector)
;; The purpose of this test is to test runtime error messages.

(define-proper-program (tests test579)


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


  (define my-vector
    (unchecked-prim-proc vector () <object> pure))

  (define-simple-proc main (() <none> nonpure)
    (console-display-line (class-of (my-vector)))))
