;; -*-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 error (nonexistent field)


(define-proper-program (tests test627)

  (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 ((a (make <a> 10)))
      (console-display-line (field-ref a 'x)))))
