Alexandr Druzhinin: > Thank you! It works. But where can I read about this issue? Reading about this "issue" is not good. What you can read about is how unittests are implemented in D (as functions) and what's the difference between static structs and nonstatic ones when they are defined inside a function. Bye, bearophile