view test/void_code.c @ 483:77cab9687d3f

*** empty log message ***
author kono
date Sun, 11 Dec 2005 23:53:27 +0900
parents 32737bad7489
children a379da780856
line wrap: on
line source

int printf(const char *format, ...);

main()
{
   int i;
   for(;;) {
      printf("aho\n");
      break;
   }
   do printf("aho\n"); while(0);
   if (0) 
	printf("a\n");
   if (0) 
	printf("a\n");
   else 
	printf("b\n");
   if (1) 
	printf("a\n");
   else {
	printf("b\n");
        printf("b\n");
   }
   if (0) 
	printf("a\n");
   else if (0 && i) {
	printf("bi\n");
        printf("bi\n");
   }
   return 0;
}