[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr19476-4.C
blob5f137391cc60c7173211914d734510841e67f91d
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fno-delete-null-pointer-checks -fdump-tree-optimized" } */
4 #include <new>
6 int g(){
7   return 42 + (0 == new int);
10 /* { dg-final { scan-tree-dump-not "return 42" "optimized" } } */