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

6 lines
108 B
C++
Raw Permalink Normal View History

2019-04-24 13:46:26 +00:00
int functionWithStaticVariable() {
static int StaticVariable = 0;
return StaticVariable;
}