Undefined behaviour oriented programming is the best !
.gitignore | ||
isEven.cpp | ||
isEven.h | ||
main.cpp | ||
makefile | ||
README.md |
This program, compiled with clang 12+, should work.
However, it is using an undefined behaviour in the isEven.cpp
file.
How to use
Run
make run
If you wish to see the assembly :
make build-assembly
Source
Originates from https://twitter.com/jckarter/status/1428072308351016969