kit

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

attr_10_unknown_attr.c (287B)


      1 /* Unknown attributes — both bare and with args — must be parsed and
      2  * silently ignored (matches GCC's default -Wno-attributes behavior). */
      3 __attribute__((xyzzy_not_real)) int a;
      4 __attribute__((xyzzy(1, "two", 3))) int b;
      5 
      6 int test_main(void) {
      7   a = 0;
      8   b = 0;
      9   return a + b;
     10 }