================
@@ -943,3 +946,10 @@ void parentheses(bool cond) {
   }  // expected-note 4 {{destroyed here}}
   (void)*p;  // expected-note 4 {{later used here}}
 }
+
+void use_temporary_after_destruction() {
+  View a;
----------------
usx95 wrote:

Could you try adding more tests. Like passing a temporary to a function with 
lifetimebound arg. Please also add tests which do not work at the moment with a 
FIXME (trivial temporaries, nested BTE).

https://github.com/llvm/llvm-project/pull/172007
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to