clang-tidy-readability-iden.../sources/StaticVariable.cpp

6 lines
108 B
C++

int functionWithStaticVariable() {
static int StaticVariable = 0;
return StaticVariable;
}