;; -*-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: translation and running OK

(define-proper-program (tests test740)

  (import (standard-library core)
	  (standard-library object-string-conversion)
	  (standard-library console-io))

  (define-simple-proc main (() <none> nonpure)
    (console-display-line (integer->string 10))
    (console-display-line (real->string 1.5))
    (console-display-line (symbol->string 'abc))
    (console-display-line (null->string null))
    (console-display-line (character->string #\a))
    (console-display-line (string->string "def"))
    (console-display-line (boolean->string #t))
    (console-display-line (general-object->string (vector <integer> 1)))
    (console-display-line (object->string 10))
    (console-display-line (object->string 1.5))
    (console-display-line (object->string 'abc))
    (console-display-line (object->string null))
    (console-display-line (object->string #\a))
    (console-display-line (object->string "def"))
    (console-display-line (object->string #t))
    (console-display-line (object->string (vector <integer> 1)))))
