Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr89314.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
/* PR tree-optimization/89314 */ /* { dg-do compile } */ /* { dg-options "-O2 -Wbuiltin-declaration-mismatch -Wextra" } */ extern __SIZE_TYPE__ strlen (const float *); /* { dg-warning "mismatch in argument 1 type of built-in function" } */ void bar (void); void foo (float *s) { if (strlen (s) > 0) bar (); }