]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/functions-as-params.qc
tests: add check for vector negation
[xonotic/gmqcc.git] / tests / functions-as-params.qc
1 string() getter = {
2     return "correct";
3 };
4
5 void(string() f) printer = {
6     print(f(), "\n");
7 };
8
9 void() main = {
10     printer(getter);
11 };