]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gm2/dynamic/pass/teststr.c
Merge modula-2 front end onto gcc.
[thirdparty/gcc.git] / gcc / testsuite / gm2 / dynamic / pass / teststr.c
1 extern void StrLib_StrCopy(char *b, unsigned int length, char *a, unsigned int);
2
3 static char a[50];
4
5 void foo (char *b, unsigned int length)
6 {
7 char Copy[length+1];
8
9 strcpy(Copy, b);
10 StrLib_StrCopy(b, length, a, 50);
11 }
12