14 lines
303 B
C
14 lines
303 B
C
/* PR tree-optimization/89314 */
|
|
/* { dg-do compile } */
|
|
/* { dg-options "-O2 -Wbuiltin-declaration-mismatch -Wextra" } */
|
|
|
|
extern __SIZE_TYPE__ strlen (const float *); /* { dg-warning "\\\[-Wbuiltin-declaration-mismatch" } */
|
|
void bar (void);
|
|
|
|
void
|
|
foo (float *s)
|
|
{
|
|
if (strlen (s) > 0)
|
|
bar ();
|
|
}
|