The compiler analyzed it, optimized it, and emitted precisely the machine instructions you expected. Same input, same output.
Many came across Error 0x8096002A when trying to extract precisely .rar. Though Microsoft introduced support for archived files like .tar, .tar.gz, .tar.bz2, .tbz2 ...