Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr89314.c
blob27b3a510bfd0ce2ea509ed74544e417317acec8f
1 /* PR tree-optimization/89314 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wbuiltin-declaration-mismatch -Wextra" } */
5 extern __SIZE_TYPE__ strlen (const float *); /* { dg-warning "\\\[-Wbuiltin-declaration-mismatch" } */
6 void bar (void);
8 void
9 foo (float *s)
11 if (strlen (s) > 0)
12 bar ();