blob: 7e1a9928660d67a15c18b48b2cf1647e8c062d6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// { dg-do assemble }
// Copyright (c) 2000, 2001 Free Software Foundation.
// Distilled from a bug report by Eric Ford <eford@princeton.edu>
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]); // { dg-error "" } .*
}
|