]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/fieldparams.qc
Merge branch 'master' into test-suite
[xonotic/gmqcc.git] / tests / fieldparams.qc
1 void(string, string) print = #1;
2 entity() spawn = #3;
3
4 .string a;
5 .string b;
6
7 void(entity e, .string s) callout = {
8     print(e.s, "\n");
9 };
10
11 void() main = {
12     local entity e;
13     e = spawn();
14     e.a = "foo";
15     e.b = "bar";
16     callout(e, b);
17 };