]> de.git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/ifs.qc
moving -Olocal-temps to -O4 until the issues are solved
[xonotic/gmqcc.git] / tests / ifs.qc
1 void(string, ...) print = #1;
2
3 void(float c) main = {
4     if (c == 1)
5         print("One\n");
6     else if (c == 2)
7         print("Two\n");
8     else if (c == 3)
9         print("Three\n");
10     else
11         print("Else\n");
12 };