entry_10.f90   [plain text]


	function foo ()
	foo = 4
	foo = foo / 2
	return
	entry bar ()
	bar = 9
	bar = bar / 3
	end

	program entrytest
	if (foo () .ne. 2) call abort ()
	if (bar () .ne. 3) call abort ()
	end