Add test for needless_return lint
#6606
+19
−1
Merged
needless_return lint
#6606