1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized -fdelete-null-pointer-checks" } */
3 /* { dg-skip-if "" keeps_null_pointer_checks } */
8 int *p = new(std::nothrow) int;
16 /* { dg-final { scan-tree-dump "return 42" "optimized" } } */
17 /* { dg-final { scan-tree-dump-not "return 33" "optimized" } } */