New test culled from gcc-bugs

From-SVN: r31740
This commit is contained in:
Zack Weinberg 2000-02-01 21:23:51 +00:00
parent 7d34aa4cff
commit ed672cd0e9

View File

@ -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]);
}