FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / ptrmem6.C
blob7e9ab4e701c72d7ab24526623782b76833853ca5
1 // Build don't link:
2 // crash test
4 // Copyright (c) 2000, 2001 Free Software Foundation.
5 // Distilled from a bug report by Eric Ford <eford@princeton.edu>
7 extern double *y;
8 extern double *x;
9 extern int nPoints;
11 void SetInitCond(void)
13   int i;
14   for(i = 2; i < nPoints; ++i)
15     y[i] = y[nPoints] .* (x[i]-x[1]) / (x[nPoints]-x[1]);  // ERROR - .*