/*
 * $Name: release2_0-16 $
 * $Id: t10.c,v 1.4 2001/06/19 18:22:16 ttsai Exp $
 */


/*
 * This is a worst-case performance program for libsafe.
 */


void foo() {
    int	    i, j;
    int	    num_outer_loops = 10000;
    int	    num_inner_loops = 1000;
    char    dest[1200];
    char    *src = "a";

    for (i=0; i<num_outer_loops; i++) {
	for (j=0; j<num_inner_loops; j++) {
	    strcpy(dest, src);
	}
    }
}

int main() {
    foo();

    return 0;
}
