You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto&& v5 = std::forward_like<int&&>(int{}); // expected-warning {{temporary bound to local reference 'v5' will be destroyed at the end of the full-expression}}
27
29
#endif
30
+
31
+
// expected-warning@+1 {{temporary bound to local reference 'v6' will be destroyed at the end of the full-expression}}
32
+
auto&& v6 = std::vector<int>().emplace_back(0);
33
+
34
+
// expected-warning@+1 {{temporary whose address is used as value of local variable 'v7' will be destroyed at the end of the full-expression}}
0 commit comments