diff test/static.c @ 157:d5310a5cc8fa

static
author kono
date Tue, 05 Aug 2003 14:50:37 +0900
parents
children 096559f07a70
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/static.c	Tue Aug 05 14:50:37 2003 +0900
@@ -0,0 +1,16 @@
+
+
+f()
+{
+   static int count = 55;
+   static int count1;
+
+   printf("%d %d\n",count++,count1++);
+  
+}
+
+main()
+{
+   f();
+   f();
+}