Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/dce-1.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 #include <new>
4 void test ()
5 {
6 int *a = new (std::nothrow) int;
7 delete a;
8 }
9 /* { dg-final { scan-tree-dump-not "operator new" "optimized" } } */