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

6 lines
114 B
C++
Raw Normal View History

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