New test culled from gcc-bugs
From-SVN: r31740
This commit is contained in:
parent
7d34aa4cff
commit
ed672cd0e9
12
gcc/testsuite/g++.old-deja/g++.other/dotstar.C
Normal file
12
gcc/testsuite/g++.old-deja/g++.other/dotstar.C
Normal 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]);
|
||||
}
|
Loading…
Reference in New Issue
Block a user