;; -*-theme-d-*-

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

;; Expected results: translation and running OK
;; Expected output: #f #f #f #t #t #t #t #t

(define-proper-program (tests test559)


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


  (define-class <a> <object> #t #f #f public ()
    ((i <integer> public public)))


  (define-simple-proc main (() <none> nonpure)
    (let ((a1 (make <a> 10))
	  (a2 (make <a> 10)))
      (console-display-line (equal? a1 a2))
      (console-display-line (equal-values? a1 a2))
      (console-display-line (equal-objects? a1 a2))
      (console-display-line (equal-contents? a1 a2))
      (console-display-line (equal? a1 a1))
      (console-display-line (equal-values? a1 a1))
      (console-display-line (equal-objects? a1 a1))
      (console-display-line (equal-contents? a1 a1)))))
