]> git.xonotic.org Git - xonotic/gmqcc.git/blob - testsuite/functions-as-parameters/main.qc
Fixing some indentation
[xonotic/gmqcc.git] / testsuite / functions-as-parameters / main.qc
1 void(string, string) print = #1;
2
3 string() getter = {
4     return "correct";
5 };
6
7 void(string() f) printer = {
8     print(f(), "\n");
9 };
10
11 void() main = {
12     printer(getter);
13 };