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

7 lines
159 B
C++
Raw Normal View History

2019-04-24 13:46:26 +00:00
void* functionWithLocalConstPointer() {
void* pointer = nullptr;
void* const LocalConstPointer = pointer;
return LocalConstPointer;
}