Lines Matching refs:LifetimeExtend
382 struct LifetimeExtend { LifetimeExtend(int); ~LifetimeExtend(); };
383 struct Aggregate { const LifetimeExtend a; const LifetimeExtend b; };
384 struct AggregateRef { const LifetimeExtend &a; const LifetimeExtend &b; };
386 // CHECK: LifetimeExtend(1);
388 // CHECK-NEXT: ~LifetimeExtend()
389 // CHECK-NOT: ~LifetimeExtend()
391 const LifetimeExtend &l = LifetimeExtend(1);
394 // CHECK: LifetimeExtend(2)
395 // CHECK-NEXT: ~LifetimeExtend()
397 // CHECK-NOT: ~LifetimeExtend()
400 const int &l = (LifetimeExtend(2), 2);
403 // CHECK: LifetimeExtend(3)
405 // CHECK-NEXT: ~LifetimeExtend()
406 // CHECK-NOT: ~LifetimeExtend()
409 const LifetimeExtend &l = (3, LifetimeExtend(3));
412 // CHECK: LifetimeExtend(4)
413 // CHECK-NEXT: ~LifetimeExtend()
414 // CHECK-NEXT: ~LifetimeExtend()
416 // CHECK-NOT: ~LifetimeExtend()
418 Aggregate a{LifetimeExtend(4), LifetimeExtend(4)};
421 // CHECK: LifetimeExtend(5)
425 // CHECK-NOT: ~LifetimeExtend()
427 AggregateRef a{LifetimeExtend(5), LifetimeExtend(5)};
431 // references (LifetimeExtend().some_member).