summaryrefslogtreecommitdiffstats
path: root/src/CBot/tests/scenarios/Z.txt
blob: 714119b951ca06404c8a4a46faff1f629117a6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
public extern void tp()
{
	int	a [4], b[];
	a [ 0 ] = 8 ;

	b = T ( a ) ;
	show ( a, b );
}

int[] T ( int[] Z )
{
	for ( int i = 0; i < 4 ; i++ ) Z[ i ] = i * i ;
	return Z;
}