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

6 lines
104 B
C++
Raw Normal View History

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