diff --git a/gcc/testsuite/g++.old-deja/g++.other/dotstar.C b/gcc/testsuite/g++.old-deja/g++.other/dotstar.C new file mode 100644 index 00000000000..9a002800712 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/dotstar.C @@ -0,0 +1,12 @@ +// Build don't link: + +extern double *y; +extern double *x; +extern int nPoints; + +void SetInitCond(void) +{ + int i; + for(i = 2; i < nPoints; ++i) + y[i] = y[nPoints] .* (x[i]-x[1]) / (x[nPoints]-x[1]); +}