{static int a = 1;a++;printf("%d",a);}
int main(){int i = 0;while(i < 10);{test();i++;}return 0;}
把你这里这个分号去掉,不然一直在执行while(i<10)