1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* Verify we PRE the strlen call, as strlen("") folds to zero. */
6 extern __SIZE_TYPE__
strlen (const char *);
8 __SIZE_TYPE__
mystrlen (const char *s
)
15 /* { dg-final { scan-tree-dump "= 0;" "optimized" } } */
16 /* { dg-final { cleanup-tree-dump "optimized" } } */