fune/tools/clang-tidy/test/performance-unnecessary-copy-initialization.cpp
2018-11-30 06:36:07 -05:00

7 lines
No EOL
140 B
C++

#include "structures.h"
extern const std::string& constReference();
void foo() {
const std::string UnnecessaryCopy = constReference();
}