Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr83648-2.c
blobffa7e462abe6ca3001235100e4886cd13a9129c0
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-delete-null-pointer-checks -fdump-tree-local-pure-const-details" } */
4 void *g(unsigned n)
6 return n ? __builtin_malloc (n) : 0;
9 void *h()
11 return 0;
14 /* { dg-final { scan-tree-dump-not "Function found to be malloc: g" "local-pure-const1" } } */
15 /* { dg-final { scan-tree-dump-not "Function found to be malloc: h" "local-pure-const1" } } */