boot2

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

122-redecl-typedef.c (275B)


      1 /* Compatible redecl: identical typedefs from multiple headers (e.g.
      2  * size_t in <stddef.h> and <stdlib.h>) collapse into one declaration. */
      3 
      4 typedef int sint;
      5 typedef int sint;
      6 
      7 int main(int argc, char **argv) {
      8     sint x = 17;
      9     if (x != 17) return 1;
     10     return 0;
     11 }