repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
pr19476-4.C
blob
5f137391cc60c7173211914d734510841e67f91d
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fno-delete-null-pointer-checks -fdump-tree-optimized" } */
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" } } */