New testcases.

From-SVN: r30909
This commit is contained in:
Bernd Schmidt 1999-12-14 10:13:57 +00:00 committed by Bernd Schmidt
parent 468644e65c
commit 956568cd6b
3 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
* compile/991214-1.c: New test.
* compile/991214-2.c: New test.
1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
* compile/991202-1.c: New test.

View File

@ -0,0 +1,11 @@
void foo(double bar[], double *zp, int n)
{
int i, j;
i = 0;
for(j = 0; j < n; j++)
{
i += j+1;
bar[i] *= (1.0 + *zp);
}
}

View File

@ -0,0 +1,22 @@
extern int N;
extern int nrows;
extern int or_num_angles;
typedef struct
{
double value;
int count;
}Histo;
Histo add_histo[10][2][36][36];
void cmd_connection_statistics( )
{
int i,j,k,m;
for(i=0; i<nrows; i++){
for(j=0; j< 2; j++)
for(k=0; k< or_num_angles; k++)
;
}
}