X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=test%2Fref%2Fspill.c;h=316928ab32d85e38299754725ab7fafced4305c0;hb=74455508314bc2b007e812ec5f9429496b9fbd5f;hp=2aedf0c8c9ac91e117aa5d33f6b55441927c4bce;hpb=ca300826cf6e27868901d6781dd329c6d286f71c;p=cc65 diff --git a/test/ref/spill.c b/test/ref/spill.c index 2aedf0c8c..316928ab3 100644 --- a/test/ref/spill.c +++ b/test/ref/spill.c @@ -4,6 +4,7 @@ !!LICENCE!! own, freely distributeable for non-profit. read CPYRIGHT.LCC */ +#include "common.h" #include int main(void) @@ -50,6 +51,6 @@ int j, k, m, n; #endif f5(){ - x=A[k*m]*A[j*m]+B[k*n]*B[j*n]; - x=A[k*m]*B[j*n]-B[k*n]*A[j*m]; + x=A[k*m]*A[j*m]+B[k*n]*B[j*n]; + x=A[k*m]*B[j*n]-B[k*n]*A[j*m]; }