diff test/arg.c @ 54:1a6b6a7bdca6

fact-a
author kono
date Tue, 18 Feb 2003 20:34:46 +0900
parents 64a4e3789fd2
children 94564b45c4f3
line wrap: on
line diff
--- a/test/arg.c	Tue Feb 18 20:14:19 2003 +0900
+++ b/test/arg.c	Tue Feb 18 20:34:46 2003 +0900
@@ -21,13 +21,20 @@
     printf("args: %d %d %d %d %d : %x %x\n",
 	args0.a0,args0.a1,args0.a2,args0.a3,args0.a4,
     exit1,env);
-    goto (*exit1)(0),env;
+    goto (*exit1)(321),env;
 }
 
 
+int main1(int n)
+{
+    goto arg1(0,1,2,3,4,return,environment);
+    return n;
+}
+
 int main( int ac, char *av[])
 {
     int n;
-    goto arg1(0,1,2,3,4,return,environment);
+    n = main1(123);
+    printf("321=%d\n",n);
 }