kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

6_7_9_25_flat_struct_init.c (166B)


      1 int test_main(void) {
      2   struct I {
      3     int a;
      4     int b;
      5   };
      6   struct O {
      7     struct I i;
      8     int c;
      9   };
     10   struct O o = {1, 2, 39};
     11   return o.i.a + o.i.b + o.c;
     12 }