;; -*-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: (runtime) error (exception)

(define-proper-program (tests test764)

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

  (define-simple-proc main (() <none> nonpure)
    (console-display-line
     (+
      (guard-general exc
	(static-cast <integer> (raise 'hep))
	(/ 10 0))
      1))))
