From 09fdbecd7ce09d9988adcd079e886a21941666bf Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期三, 14 十月 2020 11:30:53 +0800 Subject: [PATCH] udpate --- test/test.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/test/test.c b/test/test.c index b978ef2..dcb5d74 100644 --- a/test/test.c +++ b/test/test.c @@ -1,5 +1,13 @@ #include "usg_common.h" -#include "usg_typedef.h" +int test() { + static int count = 0; + count++; + return count; +} int main() { + + + printf("%d\n", test()); + printf("%d\n", test()); } \ No newline at end of file -- Gitblit v1.8.0