================
@@ -0,0 +1,154 @@
+// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety-capture-by-violation 
-verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wlifetime-safety-annotation-verification 
-verify=expected,verification %s
+
+#include "Inputs/lifetime-analysis.h"
+
+struct Cap { const int *p; };
+const int *global; // #global
----------------
Xazax-hun wrote:

Fair, updated the tests.

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

Reply via email to