]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/memberbinop.qc
Merge pull request #180 from xonotic/mem_leak_fix_on_failure_paths
[xonotic/gmqcc.git] / tests / memberbinop.qc
1 .vector k;
2
3 void t(entity e)
4 {
5     e.k = '0 0 0';
6     e.k.x += 2;
7     e.k.y += 4;
8     e.k.z += 6;
9 }
10
11 void main() {
12     entity e = spawn();
13     t(e);
14     print(vtos(e.k));
15 }