;; -*-theme-d-*-

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

;; Expected results: compilation OK


(define-body (tests test394)

  (import (standard-library console-io))

  (define-prim-class <bytevector2>
    #f #f #f ()
    bytevector? eq? eq? eq?)

  (define make-bytevector2
    (prim-proc make-bytevector (<integer> <integer>) <bytevector2> (pure)))

  (define-simple-proc my-proc (() <none> nonpure)
    (console-display-line (make-bytevector2 1 2))))

