clang-tidy-readability-iden.../test_StaticVariable.cpp

6 lines
108 B
C++
Raw Normal View History

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