1 // { dg-options "-O3 -flifetime-dse" }
4 typedef __SIZE_TYPE__ size_t;
5 inline void * operator new (size_t, void *p) { return p; }
19 // When the constructor starts the object has indeterminate value.
20 if (ap->i == 42) __builtin_abort();
25 // When the destructor ends the object no longer exists.
26 if (ar[0] == 42) __builtin_abort();