;; -*-theme-d-*-

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

;; Expected results: translation error
;;   duplicate definition

(define-proper-program (tests test261)


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


  (define-simple-proc my-proc (() <none> (nonpure))
    (console-display-string "Hello\n"))


  (define-simple-proc my-proc (() <none> (nonpure))
    (console-display-string "Hello again\n"))


  (define main
    (lambda (() <none> nonpure)
      (my-proc))))

