boot2

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

020-promote-sign.c (146B)


      1 // tests/cc-parse/20-promote-sign.c — integer promotion preserves sign.
      2 
      3 int main() {
      4     signed char x = -1;
      5     return (((int)x) + 2) == 1;
      6 }