gmqcc/tests/mul_vf.qc
2013-01-08 21:55:34 +01:00

17 lines
262 B
C++

void print(...) = #1;
string vtos(vector) = #5;
// getter to work around future -O
vector get(vector v) {
return v;
}
void test(vector in) {
vector v = get(in);
vector b = v * v_x;
print(vtos(b), "\n");
}
void main() {
test('20 40 80');
}