https://issues.dlang.org/show_bug.cgi?id=20239 --- Comment #1 from Berni <dlang at croco-puzzle.com> --- I just learned, that this is called a chameleon file. The result depends on the parser used. Such files should be rejected as they can be assumed to be malware. --