;; -*-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: error
;;   Linker shall factorize the tuple type in the cast expression
;;   when factorization is enabled.


(define-proper-program (tests test445)


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


  (define-simple-proc main (() <none> nonpure)
    (let ((l1 (cast (:tuple <integer> <integer> <string>) '(1 2.0 "abc"))))
      (console-display-line l1))))
 