diff test/tmp2.c @ 172:096559f07a70

some check
author kono
date Tue, 25 Nov 2003 11:47:41 +0900
parents d35df41eac69
children 682c8ec38d45
line wrap: on
line diff
--- a/test/tmp2.c	Mon Nov 24 20:28:19 2003 +0900
+++ b/test/tmp2.c	Tue Nov 25 11:47:41 2003 +0900
@@ -7,8 +7,8 @@
 {
     int i;
     i=main0(ac,av);
-    fprintf(stderr,"1: %s %d\n",av[0],i);
-    return i;
+    fprintf(stdout,"1: %s %d\n",av[0],i);
+    return 0;
 }
 
 int
@@ -16,7 +16,7 @@
 int ac;
 char *av[];
 {
-    fprintf(stderr,"2: %s\n",av[0]);
+    fprintf(stdout,"2: %s\n",av[0]);
     goto code0(av,return,environment);
 }
 
@@ -27,7 +27,7 @@
 {
     char *p;
     p = av[0];
-    fprintf(stderr,"3: %s\n",p);
+    fprintf(stdout,"3: %s\n",p);
     goto code1(av,ret,retenv);
 }
 
@@ -36,6 +36,6 @@
 code (*ret)();
 void *retenv;
 {
-    fprintf(stderr,"4: %s\n",av[0]);
+    fprintf(stdout,"4: %s\n",av[0]);
     goto (*ret)(1234),retenv;
 }