|
|
1.1 root 1: /*
2: * Test of static variables.
3: */
4:
5: static int ownx;
6:
7: main()
8: {
9: ownx = 2;
10: f(3);
11: f(4);
12: return(0);
13: }
14:
15: static int owny;
16:
17: f(x)
18: int x;
19: {
20: static int ownx;
21:
22: ownx = x;
23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.