Closed qqiangwu closed 7 months ago
struct Test { Owner<int*> o; void test() { auto* p = o.get(); __lifetime_pset(p); // expected-warning {{pset(p) = (**this)}} auto& q = o.get(); __lifetime_pset(q); // expected-warning {{pset(q) = (*this)}} } };