https://issues.dlang.org/show_bug.cgi?id=21740 --- Comment #7 from Boris Carvajal <boris2.9 at gmail.com> --- The 'typeof' of any void expression should be 'void'. The second case looks like another bug, why is the call expression "foo()", of void value, changing to a function symbol. --