Annotation of 43BSDTahoe/lib/old_compiler/dbx/tests/cc/reg.c, revision 1.1

1.1     ! root        1: struct blah {
        !             2:     int x;
        !             3:     int y;
        !             4: };
        !             5: 
        !             6: main ()
        !             7: {
        !             8:     register int i;
        !             9:     register struct blah *p;
        !            10:     register char *s;
        !            11:     struct blah b;
        !            12:     int j;
        !            13: 
        !            14:     s = "this is a test";
        !            15:     s += 5;
        !            16:     j = 0;
        !            17:     p = &b;
        !            18:     p->x = 3;
        !            19:     p->y = 4;
        !            20:     for (i = 0; i < 2; i++) {
        !            21:        j = i;
        !            22:        put(i);
        !            23:     }
        !            24: }
        !            25: 
        !            26: static put(i)
        !            27: register int i;
        !            28: {
        !            29:     printf("%d ", i);
        !            30: }

unix.superglobalmegacorp.com

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