;; -*-theme-d-*-

;; Copyright (C) 2018  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 test690)

  (import (standard-library core)
	  (standard-library console-io)
	  (tests numerical-test-env))

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

  (define-simple-proc main (() <none> nonpure)
    (let ((a1 (make <a> 1))
	  (a2 (make <a> 1)))
      (report-boolean-test (equal-values? a1 a2) #f)
      (report-boolean-test (equal-values? a1 a1) #t))))
