1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-evrp -fdelete-null-pointer-checks" } */
3 /* { dg-skip-if "" { keeps_null_pointer_checks } } */
5 void keep(int result
) __attribute__((noipa
));
12 void foo (void *p
) __attribute__((nonnull(1)));
22 /* { dg-final { scan-tree-dump-not "abort" "evrp" } } */
23 /* { dg-final { scan-tree-dump-times "== 0B;" 1 "evrp" } } */