From 695b3ba0d043633db22410dddeaf3a2bcc9d50c7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 8 Mar 2020 16:50:39 +0900 Subject: [PATCH] [qfcc] Rearrange vecexpr.r for easier debugging Putting the most likely function to have problems at the top reduces break-point shenanigans. --- tools/qfcc/test/vecexpr.r | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 () {