Init new repository
This commit is contained in:
21
tests/build_if_note.txt
Normal file
21
tests/build_if_note.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user