changeset 157:d5310a5cc8fa

static
author kono
date Tue, 05 Aug 2003 14:50:37 +0900
parents da529eab5618
children 7bc02f0800a9
files test/static.c
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
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();
+}