boot2

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

004-printf-literal.c (318B)


      1 /* printf with no format specifiers — exercises stdio/printf -> vfprintf
      2  * but does not touch va_arg. If this passes and 05-printf-int fails,
      3  * the bug is in cc.scm's varargs lowering, not the printf core. */
      4 extern int printf (char const *fmt, ...);
      5 
      6 int
      7 main (void)
      8 {
      9   printf ("plain literal\n");
     10   return 0;
     11 }