1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-ccp1-details" } */
4 extern "C" void abort (void);
5 inline void *operator new (__SIZE_TYPE__, void *__p) throw () { return __p; }
10 int *i = new (&f) int (1);
14 /* { dg-final { scan-tree-dump "Folded into: if \\\(1 != 0\\\)" "ccp1" } } */