kit

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

attr_13_attr_after_record_brace.c (175B)


      1 /* Attribute after the closing brace of a struct definition. */
      2 struct S {
      3   int x;
      4 } __attribute__((packed));
      5 
      6 int test_main(void) {
      7   struct S s;
      8   s.x = 0;
      9   return s.x;
     10 }