home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
355_03
/
slk3.exe
/
TEST
/
TST
/
FUNC.TST
< prev
next >
Wrap
Text File
|
1991-11-14
|
384b
|
27 lines
/* Test of function and array code generation. */
main()
{
int a, b, c, d;
int *p;
if (a) {
a = (a)(b);
a = a(b);
a = b;
a = (a)[b][c];
a = a(b, c, d);
a = a[b];
a = (*p)[b];
a = (*p)(b, c, d);
a = *b;
a = 3;
a = 5 * 5;
a = 16384 + 16384;
}
}
(b, c, d);
a = a[b];
a = (*p)[b];
a = (*p)(b, c, d);
a = *b;
a = 3;
a = 5