Skip to content

Commit f74066d

Browse files
committed
test
1 parent 4a1a77b commit f74066d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

clang-tools-extra/test/clang-tidy/checkers/performance/lost-std-move.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,9 @@ void f_cycle4()
106106
f(ptr);
107107
} while (*ptr);
108108
}
109+
110+
int f_multiple_usages()
111+
{
112+
std::shared_ptr<int> ptr;
113+
return f(ptr) + f(ptr);
114+
}

0 commit comments

Comments
 (0)