]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/mul_vf.qc
fix __builtin_nan and add some missing builtins
[xonotic/gmqcc.git] / tests / mul_vf.qc
1 // getter to work around future -O
2 vector get(vector v) {
3     return v;
4 }
5
6 void test(vector in) {
7     vector v = get(in);
8     vector b = v * v_x;
9     print(vtos(b), "\n");
10 }
11
12 void main() {
13     test('20 40 80');
14 }