From 7e1b4490afc958f43605bc2f38d9947e58409f06 Mon Sep 17 00:00:00 2001 From: zack Date: Tue, 1 Feb 2000 21:23:51 +0000 Subject: [PATCH] New test culled from gcc-bugs git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31740 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/g++.old-deja/g++.other/dotstar.C | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.other/dotstar.C 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]); +} -- 2.11.4.GIT