http://d.puremagic.com/issues/show_bug.cgi?id=2764 ------- Comment #1 from bugzilla at digitalmars.com 2009-03-27 03:12 ------- I thought some more about this, and there's a problem. A module may not have a main(), but it may reference another function in a library that does have a main(). --