kit

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

6_7_6_19_paren_declarator_name.c (430B)


      1 /* ยง6.7.6 direct-declarator -- `'(' declarator ')'` is one of the
      2  * direct-declarator productions, so wrapping the declared name in
      3  * parens is legal and changes nothing semantically. Real-world headers
      4  * (lua, glibc) use this to suppress function-like macro expansion at
      5  * the declaration site. Currently rejected with "expected declarator". */
      6 int(helper)(int x) { return x; }
      7 
      8 int test_main(void) { return (helper)(42); }