#include using std::cout; void test() { static int x = 1; cout << x; x++; } void main() { test(); test(); test(); test(); test(); test(); test(); test(); test(); }