Files
mercury/tests/hard_coded/mutable_init_order.exp
Julien Fischer bc22bbc1ba Specify the behaviour of finalisers and mutable initial value expressions
Estimated hours taken: 1
Branches: main

Specify the behaviour of finalisers and mutable initial value expressions
w.r.t to exceptions.

doc/reference_manual.texi:
	Specify what happens if a finaliser terminates with an uncaught
	exception.

	Specify the order of initialisation for mutables w.r.t initialise
	declarations.

	Specify what happens if a mutable initial value expression
	terminates with an uncaught exception.

tests/hard_coded/Mmakefile:
	Add the new test cases.

tests/hard_coded/final_excp.{m,exp}:
	Test the behaviour of finalisers that throw exceptions.

test/hard_coded/mutable_init_order.{m,exp}:
	Test that mutables are initialised in the correct order relative
	to initialise declarations.

tests/hard_coded/mutabel_excp.{m,exp}:
	Test the behaviour of mutable initial value expressions that
	throw exceptions.
2007-02-11 03:28:04 +00:00

2 lines
8 B
Plaintext