Test for #8306

Signed-off-by: Austin Seipp <austin@well-typed.com>
New and improved tests for #5435. Linux only at the moment.

Added a new test Makefile variable $(dllext), which is
instantiated to .dll or .so or .dylib depending on your platform.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Implement assembly test for #5435 in Windows.

Fixes HostOS bug, where the define was not being set.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
Trailing whitespaces
Follow changes in comparison primops (see #6135)