gmqcc/tests/mul_vf.qc

18 lines
262 B
C++
Raw Normal View History

2013-01-08 20:55:34 +00:00
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');
}