test/test.c
@@ -1,11 +1,13 @@ #include "usg_common.h" #include "usg_typedef.h" int test() { static int count = 0; count++; return count; } int main() { char buf[1024]; sprintf(buf, "%s\n", (char*)"" ); printf(buf); int d = strcmp(trim("", 0), ""); printf("%d\n", d); printf("%d\n", test()); printf("%d\n", test()); }