| Index: tools/clang/plugins/tests/base_passed.txt
|
| diff --git a/tools/clang/plugins/tests/base_passed.txt b/tools/clang/plugins/tests/base_passed.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..903658608b1656cfa54119aabbafab7f964da5d8
|
| --- /dev/null
|
| +++ b/tools/clang/plugins/tests/base_passed.txt
|
| @@ -0,0 +1,13 @@
|
| +base_passed.cpp:50:27: warning: reference might be destroyed here
|
| + f_bad(base::Passed(&s), s.get());
|
| + ^
|
| +base_passed.cpp:50:23: note: invalidated here
|
| + f_bad(base::Passed(&s), s.get());
|
| + ^
|
| +base_passed.cpp:58:12: warning: reference might be destroyed here
|
| + h_bad2(s.get()));
|
| + ^
|
| +base_passed.cpp:57:26: note: invalidated here
|
| + h(h_bad1(base::Passed(&s)),
|
| + ^
|
| +2 warnings generated.
|
|
|