Unittests have to be inside a module to be run on DMD atleast.
So putting module foo at top should fix it.

Reply via email to