]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/ifs.qc
Merge branch 'master' into test-suite
[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 };