boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

028-ternary.c (147B)


      1 // tests/cc-parse/28-ternary.c — ternary leaves exactly one rval (§H.1).
      2 int main(void) {
      3     int c = 1;
      4     int x = c ? 7 : 9;
      5     return x;
      6 }