Annotation of 43BSD/ucb/dbx/tests/cc/nested.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Test of nested blocks.
        !             3:  */
        !             4:  
        !             5: int i;
        !             6: 
        !             7: main ()
        !             8: {
        !             9:     i = 3;
        !            10:     sub();
        !            11: }
        !            12: 
        !            13: sub ()
        !            14: {
        !            15:     int i, j;
        !            16: 
        !            17:     for (i = 1; i <= 10; i++) {
        !            18:        int j;
        !            19: 
        !            20:        j = j + i;
        !            21:     }
        !            22:     j = 0;
        !            23:     for (i = 11; i <= 20; i++) {
        !            24:        j = j + i;
        !            25:     }
        !            26: }
        !            27: 
        !            28: after ()
        !            29: {
        !            30:     int a;
        !            31: 
        !            32:     a = 3;
        !            33: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.