clang-tidy-readability-iden.../test_LocalConstantPointer.cpp
2019-04-24 16:46:26 +03:00

7 lines
159 B
C++

void* functionWithLocalConstPointer() {
void* pointer = nullptr;
void* const LocalConstPointer = pointer;
return LocalConstPointer;
}