[BACK]Return to d_c9x_recursive_init.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1

Annotation of src/tests/usr.bin/xlint/lint1/d_c9x_recursive_init.c, Revision 1.1.2.2

1.1.2.2 ! yamt        1: /* C9X struct/union member init, with nested union and trailing member */
        !             2: union node {
        !             3:        void *next;
        !             4:        char *data;
        !             5: };
        !             6: struct foo {
        !             7:        int b;
        !             8:        union node n;
        !             9:        int c;
        !            10: };
        !            11:
        !            12: struct foo f = {
        !            13:        .b = 1,
        !            14:        .n = { .next = 0, },
        !            15:        .c = 1
        !            16: };

CVSweb <webmaster@jp.NetBSD.org>