Debian Codegraph @

gcc/testsuite/g++.dg/tree-ssa/pr19476-3.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fcheck-new -fdump-tree-optimized -fno-allocation-dce" } */
3
4 #include <new>
5
6 int g(){
7 return 42 + (0 == new int);
8 }
9
10 /* { dg-final { scan-tree-dump-not "return 42" "optimized" } } */