diff --git a/tools/qfcc/test/vecexpr.r b/tools/qfcc/test/vecexpr.r index 8667b0c93..0365ed589 100644 --- a/tools/qfcc/test/vecexpr.r +++ b/tools/qfcc/test/vecexpr.r @@ -1,4 +1,14 @@ #include "test-harness.h" + +vector t1(); +vector t2(float x); + +vector +t3(float x) +{ + return [x, t2(9).z, x] * 2; +} + vector t1() { @@ -11,12 +21,6 @@ t2(float x) return [x, x, x]; } -vector -t3(float x) -{ - return [x, t2(9).z, x] * 2; -} - int main () {