Files
lib_compiler/tests/build_if_note.txt
2024-04-13 15:29:53 +02:00

21 lines
241 B
Plaintext

A :: proc() {
} @build_if(LC_OS == OS_LINUX)
A :: proc() {
} @build_if(LC_OS == OS_WINDOWS)
A :: proc() {
} @build_if(LC_OS == OS_MAC)
B :: proc() {
} @build_if(0)
B :: proc() {
}
main :: proc(): int {
A();
B();
return 0;
}