Home | History | Annotate | Download | only in PCH
      1 static void *FooToken = &FooToken;
      2 static void *FooTable[256] = {
      3     [0x3] = (void *[256]) { // 1
      4         [0x5b] = (void *[256]) { // 2
      5             [0x81] = (void *[256]) { // 3
      6                 [0x42] = (void *[256]) { // 4
      7                     [0xa2] = (void *[256]) { // 5
      8                         [0xe] = (void *[256]) { // 6
      9                             [0x20] = (void *[256]) { // 7
     10                                 [0xd7] = (void *[256]) { // 8
     11                                     [0x39] = (void *[256]) { // 9
     12                                         [0xf1] = (void *[256]) { // 10
     13                                             [0xa4] = (void *[256]) { // 11
     14                                                 [0xa8] = (void *[256]) { // 12
     15                                                     [0x21] = (void *[256]) { // 13
     16                                                         [0x86] = (void *[256]) { // 14
     17                                                             [0x1d] = (void *[256]) { // 15
     18                                                                 [0xdc] = (void *[256]) { // 16
     19                                                                     [0xa5] = (void *[256]) { // 17
     20                                                                         [0xef] = (void *[256]) { // 18
     21                                                                             [0x9] = (void *[256]) { // 19
     22                                                                                 [0x34] = &FooToken,
     23                                                                             },
     24                                                                         },
     25                                                                     },
     26                                                                 },
     27                                                             },
     28                                                         },
     29                                                     },
     30                                                 },
     31                                             },
     32                                         },
     33                                     },
     34                                 },
     35                             },
     36                         },
     37                     },
     38                 },
     39             },
     40         },
     41     }
     42 };
     43 
     44 struct P1 {
     45     struct Q1 {
     46       char a[6];
     47       char b[6];
     48     } q;
     49 };
     50 
     51 struct P1 l1 = {
     52     (struct Q1){ "foo", "bar" },
     53                .q.b = { "boo" },
     54                .q.b = { [1] = 'x' }
     55 };
     56 
     57 extern struct Q1 *foo();
     58 static struct P1 test_foo() {
     59   struct P1 l = { *foo(),
     60                   .q.b = { "boo" },
     61                   .q.b = { [1] = 'x' }
     62                 };
     63   return l;
     64 }
     65