brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.7 KiB · 8a524ae Raw
65 lines · c
1static void *FooToken = &FooToken;2static void *FooTable[256] = {3    [0x3] = (void *[256]) { // 14        [0x5b] = (void *[256]) { // 25            [0x81] = (void *[256]) { // 36                [0x42] = (void *[256]) { // 47                    [0xa2] = (void *[256]) { // 58                        [0xe] = (void *[256]) { // 69                            [0x20] = (void *[256]) { // 710                                [0xd7] = (void *[256]) { // 811                                    [0x39] = (void *[256]) { // 912                                        [0xf1] = (void *[256]) { // 1013                                            [0xa4] = (void *[256]) { // 1114                                                [0xa8] = (void *[256]) { // 1215                                                    [0x21] = (void *[256]) { // 1316                                                        [0x86] = (void *[256]) { // 1417                                                            [0x1d] = (void *[256]) { // 1518                                                                [0xdc] = (void *[256]) { // 1619                                                                    [0xa5] = (void *[256]) { // 1720                                                                        [0xef] = (void *[256]) { // 1821                                                                            [0x9] = (void *[256]) { // 1922                                                                                [0x34] = &FooToken,23                                                                            },24                                                                        },25                                                                    },26                                                                },27                                                            },28                                                        },29                                                    },30                                                },31                                            },32                                        },33                                    },34                                },35                            },36                        },37                    },38                },39            },40        },41    }42};43 44struct P1 {45    struct Q1 {46      char a[6];47      char b[6];48    } q;49};50 51struct P1 l1 = {52    (struct Q1){ "foo", "bar" },53               .q.b = { "boo" },54               .q.b = { [1] = 'x' }55};56 57extern struct Q1 *foo(void);58static struct P1 test_foo(void) {59  struct P1 l = { *foo(),60                  .q.b = { "boo" },61                  .q.b = { [1] = 'x' }62                };63  return l;64}65