test$ cat test2.asm %ifdef __?NASM_HAS_IFDIRECTIVE?__ %if 0 %elifdirective %note %note quux %endif %endif test$ nasm -v NASM version 2.16.02rc2 compiled on Oct 12 2023 test$ nasm test2.asm -l /dev/stderr 1 %ifdef __?NASM_HAS_IFDIRECTIVE?__ 2 %if 0 3 %elifdirective %note 4 %note quux 5 %endif 6 %endif test$ ~/proj/nasmtest/broken/nasm -v NASM version 3.00rc4 compiled on Sep 14 2025 test$ ~/proj/nasmtest/broken/nasm test2.asm -l /dev/stderr 1 %ifdef __?NASM_HAS_IFDIRECTIVE?__ 2 %if 0 3 %elifdirective %note 4 %note quux 4 ------------------ note: quux 5 %endif 6 %endif test$