kit

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

6_6_10_logical_cond_const.c (173B)


      1 _Static_assert(0 || (1 && 1), "logical operators are integer constants");
      2 
      3 int test_main(void) {
      4   int a[0 ? 1 : 7];
      5   return (int)(sizeof a / sizeof a[0]) * (1 ? 6 : 0);
      6 }